public class OptionalStructureWrapper extends PassThroughComponent
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_loadMarshal
Load object for marshalling code generation flag.
|
private PropertyDefinition |
m_property
Property definition.
|
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, setWrappedComponentprivate final PropertyDefinition m_property
private final boolean m_loadMarshal
public OptionalStructureWrapper(IComponent wrap, PropertyDefinition prop, boolean load)
wrap - wrapped binding componentload - flag for need to load object for marshalling codepublic void genAttributeMarshal(ContextMethodBuilder mb) throws JiBXException
IComponentgenAttributeMarshal in interface IComponentgenAttributeMarshal in class PassThroughComponentmb - method builderJiBXException - if error in configurationpublic void genContentMarshal(ContextMethodBuilder mb) throws JiBXException
IComponentgenContentMarshal in interface IComponentgenContentMarshal in class PassThroughComponentmb - method builderJiBXException - if error in configurationpublic void print(int depth)
print in interface IComponentprint in class PassThroughComponent