| |
|
| java.lang.Object org.jibx.binding.model.ElementBase org.jibx.binding.model.NestingElementBase org.jibx.binding.model.ContainerElementBase org.jibx.binding.model.TemplateElementBase
All known Subclasses: org.jibx.binding.model.MappingElement, org.jibx.binding.model.TemplateElement,
TemplateElementBase | abstract public class TemplateElementBase extends ContainerElementBase (Code) | | Model component for elements that define how instances of a particular class
are converted to or from XML. This includes both mapping and
template elements.
author: Dennis M. Sosnoski |
m_topChildren | protected ArrayList m_topChildren(Code) | | List of child elements.
|
s_allowedAttributes | final public static StringArray s_allowedAttributes(Code) | | Enumeration of allowed attribute names
|
TemplateElementBase | public TemplateElementBase(int type)(Code) | | Constructor.
Parameters: type - element type code |
addExtensionType | protected void addExtensionType(TemplateElementBase ext)(Code) | | Add template or mapping which derives from this one.
Parameters: ext - derived template or mapping information |
addTopChild | public void addTopChild(Object child)(Code) | | Add top-level child element.
Parameters: child - element to be added as child of this element |
getClassName | public String getClassName()(Code) | | Get mapped class name.
class name |
getExtensionTypes | public ArrayList getExtensionTypes()(Code) | | Get templates or mappings which derive from this one.
list of derived templates or mappings |
getHandledClass | public IClass getHandledClass()(Code) | | Get handled class information. This call is only meaningful after
prevalidation.
mapped class information |
hasObject | public boolean hasObject()(Code) | | |
isDefaultTemplate | abstract public boolean isDefaultTemplate()(Code) | | Check if default template for type. Needs to be implemented by subclasses
for common handling.
true if default for type, false if not |
isImplicit | public boolean isImplicit()(Code) | | |
isOptional | public boolean isOptional()(Code) | | |
setClassName | public void setClassName(String name)(Code) | | Set mapped class name.
Parameters: name - mapped class name |
topChildIterator | public Iterator topChildIterator()(Code) | | Get iterator for top-level child elements.
iterator for child elements |
topChildren | public ArrayList topChildren()(Code) | | Get list of top-level child elements.
list of child elements, or null if none |
|
|
|