net.jangaroo.exml.model
Class AbstractConfigClassToExmlElementAdapter
java.lang.Object
net.jangaroo.exml.model.AbstractConfigClassToExmlElementAdapter
- All Implemented Interfaces:
- ExmlElement
- Direct Known Subclasses:
- ConfigClassToNewExmlElementAdapter, ConfigClassToOldExmlElementAdapter
public abstract class AbstractConfigClassToExmlElementAdapter
- extends Object
- implements ExmlElement
An abstract adapter from config class to EXML element.
configClass
protected ConfigClass configClass
AbstractConfigClassToExmlElementAdapter
public AbstractConfigClassToExmlElementAdapter(ConfigClass configClass)
getNamespace
public String getNamespace()
- Specified by:
getNamespace in interface ExmlElement
setNs
public void setNs(String shortNamespace)
- Specified by:
setNs in interface ExmlElement
getNs
public String getNs()
- Specified by:
getNs in interface ExmlElement
getTypeName
public abstract String getTypeName()
- Specified by:
getTypeName in interface ExmlElement
getFullTypeName
public String getFullTypeName()
- Specified by:
getFullTypeName in interface ExmlElement
getDescription
public String getDescription()
- Specified by:
getDescription in interface ExmlElement
getDirectCfgs
public List<ConfigAttribute> getDirectCfgs()
- Description copied from interface:
ExmlElement
- Returns only the config attributes that are not already defined in the super element.
- Specified by:
getDirectCfgs in interface ExmlElement
- Returns:
- the list of config attributes
getSuperElement
public ExmlElement getSuperElement()
- Description copied from interface:
ExmlElement
- Return the EXML element this element inherits config attributes from, or null
if this is a top-level EXML element.
- Specified by:
getSuperElement in interface ExmlElement
- Returns:
- the super EXML element
createAdapter
protected abstract ExmlElement createAdapter(ConfigClass configClass)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.