public class OptionalStructureWrapper extends PassThroughComponent
m_component| Constructor and Description |
|---|
OptionalStructureWrapper(IComponent wrap,
PropertyDefinition prop,
boolean load)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
genAttributeMarshal(ContextMethodBuilder mb)
Generate attribute marshalling code.
|
void |
genContentMarshal(ContextMethodBuilder mb)
Generate element or text marshalling code.
|
void |
print(int depth) |
genAttributeUnmarshal, genAttrPresentTest, genContentPresentTest, genContentUnmarshal, genLoadId, genNewInstance, getType, getWrapperName, hasAttribute, hasContent, hasId, isOptional, setLinkages, setWrappedComponentpublic OptionalStructureWrapper(IComponent wrap, PropertyDefinition prop, boolean load)
wrap - wrapped binding componentload - flag for need to load object for marshalling codeprop - Property Definitionpublic void genAttributeMarshal(ContextMethodBuilder mb) throws org.jibx.runtime.JiBXException
IComponentgenAttributeMarshal in interface IComponentgenAttributeMarshal in class PassThroughComponentmb - method builderorg.jibx.runtime.JiBXException - if error in configurationpublic void genContentMarshal(ContextMethodBuilder mb) throws org.jibx.runtime.JiBXException
IComponentgenContentMarshal in interface IComponentgenContentMarshal in class PassThroughComponentmb - method builderorg.jibx.runtime.JiBXException - if error in configurationpublic void print(int depth)
print in interface IComponentprint in class PassThroughComponentCopyright © 2005–2016 jibx.org. All rights reserved.