| java.lang.Object org.jibx.binding.def.ValueChild
ValueChild | public class ValueChild implements IComponent(Code) | | Attribute or simple content value definition from binding. This organizes
information for anything that can be converted to and from a simple
String . Content values include both elements with only character
data content and text, as character data content or CDATA sections.
author: Dennis M. Sosnoski version: 1.0 |
ATTRIBUTE_STYLE | final static int ATTRIBUTE_STYLE(Code) | | |
AUTO_IDENT | final static int AUTO_IDENT(Code) | | |
CDATA_STYLE | final static int CDATA_STYLE(Code) | | |
DEF_IDENT | final static int DEF_IDENT(Code) | | |
DIRECT_IDENT | final static int DIRECT_IDENT(Code) | | |
ELEMENT_STYLE | final static int ELEMENT_STYLE(Code) | | |
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_ELEMENT | final protected static String MARSHAL_ELEMENT(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) | | |
REF_IDENT | final static int REF_IDENT(Code) | | |
TEXT_STYLE | final static int TEXT_STYLE(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) | | |
ValueChild | public ValueChild(IContainer contain, IContextObj objc, NameDefinition name, PropertyDefinition prop, StringConversion conv, int style, int ident, String constant, boolean nillable)(Code) | | Constructor. Saves the context information for later use.
Parameters: contain - containing binding definition structure Parameters: objc - containing object context Parameters: name - element or attribute name information (may benull ) Parameters: prop - property reference information Parameters: conv - string conversion handler Parameters: style - value style code Parameters: ident - identifier type code Parameters: constant - value for constant Parameters: nillable - nillable element flag |
genIfPresentTest | public void genIfPresentTest(UnmarshalBuilder mb) throws JiBXException(Code) | | Generate test if present code. This generates code that tests if the
child is present, leaving the result of the test (zero if missing,
nonzero if present) on the stack.
Parameters: mb - unmarshal method builder throws: JiBXException - if configuration error |
getPropertyName | public String getPropertyName()(Code) | | Get property name. If the child has an associated property this returns
the name of that property.
name for child property |
hasAttribute | public boolean hasAttribute()(Code) | | |
hasContent | public boolean hasContent()(Code) | | |
hasId | public boolean hasId()(Code) | | |
isImplicit | public boolean isImplicit()(Code) | | Check if implicit.
true if implicit, false if not |
isOptional | public boolean isOptional()(Code) | | |
print | public void print(int depth)(Code) | | |
switchProperty | public void switchProperty()(Code) | | Switch property from "this" to "implicit".
|
|
|