| java.lang.Object org.jibx.binding.def.PassThroughComponent org.jibx.binding.def.MappingReference
MappingReference | public class MappingReference extends PassThroughComponent (Code) | | Reference to a mapping definition. This is used as a placeholder when
building the component structure of a binding definition. It's necessary
because the referenced mapping may not have been parsed yet. During the
linkage phase that follows parsing this looks up the appropriate mapping
definition and sets up the corresponding component structure. Thereafter it
operates as a simple pass-through wrapper for the top child component.
author: Dennis M. Sosnoski |
MappingReference | public MappingReference(IContainer contain, PropertyDefinition prop, String type, String reftext, String refqname, IContextObj objc, NameDefinition name, boolean synth, boolean nillable)(Code) | | Constructor from property and type.
Parameters: contain - containing binding definition structure Parameters: prop - property definition Parameters: type - fully qualified name of mapped type Parameters: reftext - ordinary text name for abstract mapping reference(null if not specified) Parameters: refqname - qualified type name for abstract mapping reference(null if not specified) Parameters: objc - current object context Parameters: name - reference name definition (only allowed with abstractmappings) Parameters: synth - sythentic reference added to empty collection flag Parameters: nillable - flag for nillable element |
genContentUnmarshal | public void genContentUnmarshal(ContextMethodBuilder mb) throws JiBXException(Code) | | Patch the generated code to remove the unmarshalled object when it's a
"this" reference with both elements and attributes.
Parameters: mb - throws: JiBXException - |
isOptional | public boolean isOptional()(Code) | | |
print | public void print(int depth)(Code) | | |
|
|