| |
|
| java.lang.Object org.jibx.binding.def.PassThroughComponent org.jibx.binding.def.LinkableBase org.jibx.binding.def.MappingBase org.jibx.binding.def.MappingDefinition
MappingDefinition | public class MappingDefinition extends MappingBase (Code) | | Normal mapping with defined binding. This is used for a mapping definition
which includes detailed binding information (rather than marshaller and
unmarshaller classes which handle the binding directly).
author: Dennis M. Sosnoski |
MARSHALLER_INTERFACES | final static String[] MARSHALLER_INTERFACES(Code) | | |
UNMARSHALLER_INTERFACES | final static String[] UNMARSHALLER_INTERFACES(Code) | | |
MappingDefinition | public MappingDefinition(IContainer contain, DefinitionContext defc, String type, NameDefinition name, String tname, boolean abs, String base, ObjectBinding bind, boolean nillable) throws JiBXException(Code) | | Constructor. This initializes the new definition context.
Parameters: contain - containing binding definition structure Parameters: defc - definition context for this mapping Parameters: type - bound class name Parameters: name - mapped element name information (null if definedby marshaller and unmarshaller) Parameters: tname - qualified type name for abstract mapping (null if none) Parameters: abs - abstract mapping flag Parameters: base - abstract mapping extended by this one Parameters: bind - binding definition component Parameters: nillable - flag for nillable element throws: JiBXException - if class definition not found |
genLoadNamespaces | void genLoadNamespaces(MethodBuilder mb)(Code) | | Generate code for loading namespace index and URI arrays.
Parameters: mb - method builder for generated code |
getBoundClass | public BoundClass getBoundClass()(Code) | | Get the mapped class information. This implements the method used by the
base class.
information for mapped class |
hasNamespace | boolean hasNamespace()(Code) | | Check if one or more namespaces are defined for element.
true if namespaces are defined, false if not |
isAbstract | public boolean isAbstract()(Code) | | |
isBase | public boolean isBase()(Code) | | |
linkMappings | public void linkMappings() throws JiBXException(Code) | | Links extension mappings to their base mappings. This must be done before
the more general linking step in order to determine which abstract
mappings are standalone and which are extended by other mappings
throws: JiBXException - if error in linking |
print | public void print(int depth)(Code) | | |
|
|
|