public class StructureReference extends PassThroughComponent
| Modifier and Type | Field and Description |
|---|---|
private IContainer |
m_container
Containing binding component.
|
private IContextObj |
m_contextObject
Containing binding definition structure.
|
private java.lang.String |
m_label
Identifier for referenced structure definition.
|
private boolean |
m_needLoad
Object load needed for marshalling flag (used with object binding).
|
private PropertyDefinition |
m_property
Property definition (may be
null). |
private boolean |
m_skipMarshal
Flag for marshalling code generation to be skipped by component.
|
m_component| Constructor and Description |
|---|
StructureReference(IContainer contain,
java.lang.String label,
PropertyDefinition prop,
boolean hasname,
IContextObj cobj)
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) |
void |
setLinkages()
Establish and validate linkages between binding components.
|
genAttributeUnmarshal, genAttrPresentTest, genContentPresentTest, genContentUnmarshal, genLoadId, genNewInstance, getType, getWrapperName, hasAttribute, hasContent, hasId, isOptional, setWrappedComponentprivate final IContainer m_container
private final IContextObj m_contextObject
private final PropertyDefinition m_property
null).private final java.lang.String m_label
private boolean m_skipMarshal
private boolean m_needLoad
public StructureReference(IContainer contain, java.lang.String label, PropertyDefinition prop, boolean hasname, IContextObj cobj)
contain - containing binding componentlabel - reference structure identifierprop - property definition (may be null)hasname - element name used with reference flagcobj - context objectpublic 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 setLinkages()
throws JiBXException
ILinkablesetLinkages in interface ILinkablesetLinkages in class PassThroughComponentJiBXException - if error in configurationpublic void print(int depth)
print in interface IComponentprint in class PassThroughComponent