| |
|
| java.lang.Object org.jibx.binding.def.ElementWrapper
ElementWrapper | public class ElementWrapper implements IComponent(Code) | | Component decorator for element definition. This associates an element name
with a component.
author: Dennis M. Sosnoski |
MARSHAL_ATTRIBUTE | final protected static String MARSHAL_ATTRIBUTE(Code) | | |
MARSHAL_CLOSESTART_EMPTY | final protected static String MARSHAL_CLOSESTART_EMPTY(Code) | | |
MARSHAL_CLOSESTART_EMPTY_SIGNATURE | final protected static String MARSHAL_CLOSESTART_EMPTY_SIGNATURE(Code) | | |
MARSHAL_SIGNATURE | final protected static String MARSHAL_SIGNATURE(Code) | | |
MARSHAL_STARTTAG_ATTRIBUTES | final protected static String MARSHAL_STARTTAG_ATTRIBUTES(Code) | | |
MARSHAL_STARTTAG_SIGNATURE | final protected static String MARSHAL_STARTTAG_SIGNATURE(Code) | | |
UNMARSHAL_ATTRIBUTE_BOOLEAN_NAME | final protected static String UNMARSHAL_ATTRIBUTE_BOOLEAN_NAME(Code) | | |
UNMARSHAL_ATTRIBUTE_BOOLEAN_SIGNATURE | final protected static String UNMARSHAL_ATTRIBUTE_BOOLEAN_SIGNATURE(Code) | | |
ElementWrapper | public ElementWrapper(DefinitionContext defc, NameDefinition name, IComponent wrap, boolean nillable)(Code) | | Constructor.
Parameters: defc - definition context for this component Parameters: name - element name definition Parameters: wrap - wrapped binding component (may be null , in thecase of a throwaway component) Parameters: nillable - flag for nillable element |
hasAttribute | public boolean hasAttribute()(Code) | | |
hasContent | public boolean hasContent()(Code) | | |
hasId | public boolean hasId()(Code) | | |
isOptional | public boolean isOptional()(Code) | | |
print | public void print(int depth)(Code) | | |
setDirect | public void setDirect(boolean direct)(Code) | | Set the direct access flag. This controls a variation in the code
generation to handle values loaded from a collection.
Parameters: direct - true if direct access from collection,false if not |
setOptionalIgnored | public void setOptionalIgnored(boolean opt)(Code) | | Set flag for an optional ignored element.
Parameters: opt - true if optional ignored element,false if not |
setOptionalNormal | public void setOptionalNormal(boolean opt)(Code) | | Set flag for an optional normal element.
Parameters: opt - true if optional normal element,false if not |
setStructureObject | public void setStructureObject(boolean opt)(Code) | | Set flag for an optional structure object.
Parameters: opt - true if optional structure object,false if not |
|
|
|