public abstract class BindingBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BindingBuilder.ContainerBase
Base class for containers.
|
Modifier and Type | Field and Description |
---|---|
(package private) static int |
ACC_PACKAGE |
(package private) static int |
ACC_PRIVATE |
(package private) static int |
ACC_PROTECTED |
(package private) static int |
ACC_PUBLIC |
private static java.lang.String[] |
ACCESS_LEVEL_NAMES |
private static int[] |
ACCESS_LEVEL_NUMS |
private static java.lang.String[] |
AUTO_LINK_NAMES |
private static int[] |
AUTO_LINK_NUMS |
private static java.lang.String |
BINDING_ADD |
private static java.lang.String |
BINDING_DIRECTION |
private static java.lang.String |
BINDING_ELEMENT
Definitions for "binding" element use "BINDING" prefix.
|
private static java.lang.String |
BINDING_FORCE |
private static java.lang.String |
BINDING_FORWARDS |
private static java.lang.String |
BINDING_GLOBALID |
private static java.lang.String |
BINDING_MAJORVER |
private static java.lang.String |
BINDING_MINORVER |
private static java.lang.String |
BINDING_NAME |
private static java.lang.String |
BINDING_PACKAGE |
private static java.lang.String |
BINDING_TRACKING |
private static java.lang.String |
BINDING_TRIM |
private static java.lang.String[] |
BINDINGDIR_NAMES |
private static int[] |
BINDINGDIR_NUMS |
private static java.lang.String |
COLLECTION_ADDMETHOD |
private static java.lang.String |
COLLECTION_ELEMENT
Definitions for "collection" element use "COLLECTION" prefix.
|
private static java.lang.String |
COLLECTION_ITEMTYPE |
private static java.lang.String |
COLLECTION_ITERMETHOD |
private static java.lang.String |
COLLECTION_LOADMETHOD |
private static java.lang.String |
COLLECTION_SIZEMETHOD |
private static java.lang.String |
COLLECTION_STOREMETHOD |
private static java.lang.String |
COMMON_ACCESSLEVEL |
private static java.lang.String |
COMMON_AUTOLINK |
private static java.lang.String |
COMMON_CHOICE |
private static java.lang.String |
COMMON_CREATETYPE |
private static java.lang.String |
COMMON_DEFAULT |
private static java.lang.String |
COMMON_DESERIALIZER |
private static java.lang.String |
COMMON_DUPLICATES |
private static java.lang.String |
COMMON_ENUMVALUEMETHOD |
private static java.lang.String |
COMMON_FACTORY |
private static java.lang.String |
COMMON_FIELD |
private static java.lang.String |
COMMON_FLAGMETHOD |
private static java.lang.String |
COMMON_FLEXIBLE |
private static java.lang.String |
COMMON_GETMETHOD |
private static java.lang.String |
COMMON_LABEL |
private static java.lang.String |
COMMON_MARSHALLER |
private static java.lang.String |
COMMON_NAME |
private static java.lang.String |
COMMON_NAMESPACE |
private static java.lang.String |
COMMON_NAMESTYLE |
private static java.lang.String |
COMMON_NILLABLE |
private static java.lang.String |
COMMON_ORDERED |
private static java.lang.String |
COMMON_POSTSET |
private static java.lang.String |
COMMON_PREGET |
private static java.lang.String |
COMMON_PRESET |
private static java.lang.String |
COMMON_SERIALIZER |
private static java.lang.String |
COMMON_SETMETHOD |
private static java.lang.String |
COMMON_STRIPPREFIX |
private static java.lang.String |
COMMON_STRIPSUFFIX |
private static java.lang.String |
COMMON_STYLE |
private static java.lang.String |
COMMON_TESTMETHOD |
private static java.lang.String |
COMMON_TYPE |
private static java.lang.String |
COMMON_UNMARSHALLER |
private static java.lang.String |
COMMON_USAGE |
private static java.lang.String |
COMMON_USING |
private static java.lang.String |
COMMON_WHITESPACE |
private static java.lang.String[] |
COMPONENT_OBJECT_NAMES |
private static java.lang.String[] |
COMPONENT_OBJECT_NAMESPACES |
private static java.lang.String[] |
CONTAINING_STYLE_NAMES |
private static int[] |
CONTAINING_STYLE_NUMS |
private static java.lang.String |
CUSTOM_ENUM_DESERIALIZER_NAME |
private static java.lang.String |
CUSTOM_ENUM_SERIALIZER_NAME |
private static int |
DIRECTION_BOTH |
private static int |
DIRECTION_INPUT |
private static int |
DIRECTION_OUTPUT |
private static java.lang.String |
FORMAT_ELEMENT
Definitions for "format" element use "FORMAT" prefix.
|
private static java.lang.String |
FORMAT_NAME |
private static java.lang.String |
FORMAT_TYPE |
private static java.lang.String[] |
IDENTTYPE_NAMES |
private static int[] |
IDENTTYPE_NUMS |
private static java.lang.String |
INCLUDE_ELEMENT
Definitions for "include" element use "INCLUDE" prefix.
|
private static java.lang.String |
INCLUDE_PATH |
private static java.lang.String |
INCLUDE_PRECOMPILED |
(package private) static int |
LINK_FIELDS |
(package private) static int |
LINK_METHODS |
(package private) static int |
LINK_NONE |
private static java.lang.String |
MAPPING_ABSTRACT |
private static java.lang.String |
MAPPING_CLASS |
private static java.lang.String |
MAPPING_ELEMENT
Definitions for "mapping" element use "MAPPING" prefix.
|
private static java.lang.String |
MAPPING_EXTENDS |
private static java.lang.String |
MAPPING_TYPENAME |
private static java.lang.String |
MARSHALLER_INTERFACE |
private static java.lang.String |
MARSHALLER_INTERFACETYPE |
private static java.lang.String[] |
NAME_GENERATE_NAMES |
private static int[] |
NAME_GENERATE_NUMS |
(package private) static int |
NAME_HYPHENS |
(package private) static int |
NAME_MIXED |
private static java.lang.String |
NAMESPACE_DEFAULT |
private static java.lang.String |
NAMESPACE_ELEMENT
Definitions for "namespace" element use "NAMESPACE" prefix.
|
private static java.lang.String |
NAMESPACE_PREFIX |
private static java.lang.String |
NAMESPACE_URI |
private static java.lang.String[] |
NAMESPACEACCESS_NAMES |
private static int[] |
NAMESPACEACCESS_NUMS |
private static java.lang.String |
STRUCTURE_ELEMENT
Definitions for "structure" element use "STRUCTURE" prefix.
|
private static java.lang.String |
STRUCTURE_MAPAS |
private static java.lang.String |
UNMARSHALLER_INTERFACE |
private static java.lang.String |
UNMARSHALLER_INTERFACETYPE |
private static java.lang.String |
URI_ATTRIBUTES
Attribute namespace used for binding definition file.
|
private static java.lang.String |
URI_ELEMENTS
Element namespace used for binding definition file.
|
private static java.lang.String |
USAGE_OPTIONAL |
private static java.lang.String |
USAGE_REQUIRED |
private static java.lang.String |
VALUE_CONSTANT |
private static java.lang.String |
VALUE_ELEMENT
Definitions for "value" element use "VALUE" prefix.
|
private static java.lang.String |
VALUE_FORMAT |
private static java.lang.String |
VALUE_IDENT |
private static java.lang.String |
VALUE_STYLE |
private static java.lang.String[] |
VALUE_STYLE_NAMES |
private static int[] |
VALUE_STYLE_NUMS |
Constructor and Description |
---|
BindingBuilder() |
Modifier and Type | Method and Description |
---|---|
private static void |
buildEnumValueMethods(boolean exists,
java.lang.String type,
java.lang.String evmeth)
Add (or verify) serializer and deserializer methods to enum class with
special value method.
|
private static boolean |
isDirectObject(UnmarshallingContext ctx)
Check if attributes define a direct object reference.
|
private static boolean |
isMappingRef(UnmarshallingContext ctx)
Check if attributes define a mapping reference.
|
private static boolean |
isNamePresent(UnmarshallingContext ctx)
Check if attributes supply a name definition.
|
private static boolean |
isObjectBinding(UnmarshallingContext ctx)
Check for component object present.
|
private static boolean |
isOptionalProperty(UnmarshallingContext ctx)
Check for optional property.
|
private static boolean |
isPropertyPresent(UnmarshallingContext ctx)
Check for property definition present.
|
private static void |
preserveMethodClass(java.lang.String name)
Force the class containing a method to be preserved from modification.
|
static BindingDefinition |
unmarshalBindingDefinition(UnmarshallingContext ctx,
java.lang.String name,
java.net.URL root)
Unmarshal binding definition.
|
private static DirectObject |
unmarshalDirectObj(UnmarshallingContext ctx,
java.lang.String type,
IContainer parent,
DefinitionContext defc,
java.lang.String mapname,
NameDefinition name)
Unmarshal direct object component.
|
private static void |
unmarshalFormats(UnmarshallingContext ctx,
boolean exists,
DefinitionContext defc)
Unmarshal format definitions.
|
static void |
unmarshalInclude(UnmarshallingContext ctx,
boolean precomp,
BindingDefinition bdef,
java.net.URL root,
java.util.ArrayList nslist,
java.util.HashSet paths,
IBindingFactory factory,
int[] nsxlate)
Unmarshal included binding.
|
static IMapping |
unmarshalMapping(UnmarshallingContext ctx,
IContainer parent,
java.util.ArrayList nss,
boolean uord)
Unmarshal mapping definition.
|
private static IComponent |
unmarshalMappingRef(UnmarshallingContext ctx,
IContainer parent,
IContextObj objc,
PropertyDefinition prop,
NameDefinition name)
Unmarshal mapping reference component.
|
private static void |
unmarshalMappings(UnmarshallingContext ctx,
IContainer parent,
java.util.ArrayList nss,
boolean uord)
Unmarshal mapping definitions.
|
private static NameDefinition |
unmarshalName(UnmarshallingContext ctx,
boolean attr)
Unmarshal name definition.
|
private static NamespaceDefinition |
unmarshalNamespace(UnmarshallingContext ctx)
Unmarshal namespace definition.
|
private static void |
unmarshalNamespaces(UnmarshallingContext ctx,
DefinitionContext defc)
Unmarshal namespace definitions.
|
private static ObjectBinding |
unmarshalObjectBinding(UnmarshallingContext ctx,
IContextObj objc,
IContainer parent,
java.lang.String type)
Unmarshal object binding component.
|
private static void |
unmarshalPrecompiledMappings(UnmarshallingContext ctx,
IBindingFactory factory,
IContainer parent,
int[] nsxlate)
Unmarshal precompiled mapping definitions.
|
private static PropertyDefinition |
unmarshalProperty(UnmarshallingContext ctx,
IContainer parent,
IContextObj cobj,
boolean opt)
Unmarshal property definition.
|
private static StringConversion |
unmarshalStringConversion(UnmarshallingContext ctx,
boolean exists,
StringConversion base,
java.lang.String type)
Unmarshal string conversion.
|
static IComponent |
unmarshalStructure(UnmarshallingContext ctx,
IContainer contain,
IContextObj cobj,
boolean coll,
boolean uord,
boolean implic)
Unmarshal subclass instance for structure definition.
|
private static void |
unmarshalStructureChildren(UnmarshallingContext ctx,
NestedBase nest,
IContextObj objc,
boolean impl,
java.lang.String itype)
Unmarshal child bindings for a nested structure definition.
|
private static IComponent |
unmarshalStructureRef(UnmarshallingContext ctx,
IContainer contain,
NameDefinition name,
PropertyDefinition prop,
IContextObj cobj)
Unmarshal structure reference component.
|
private static ValueChild |
unmarshalValue(UnmarshallingContext ctx,
IContainer parent,
IContextObj cobj,
boolean uord,
boolean impl,
java.lang.String itype)
Unmarshal value definition.
|
private static final java.lang.String URI_ELEMENTS
private static final java.lang.String URI_ATTRIBUTES
private static final java.lang.String COMMON_STYLE
private static final java.lang.String COMMON_AUTOLINK
private static final java.lang.String COMMON_ACCESSLEVEL
private static final java.lang.String COMMON_STRIPPREFIX
private static final java.lang.String COMMON_STRIPSUFFIX
private static final java.lang.String COMMON_NAMESTYLE
private static final java.lang.String COMMON_NAME
private static final java.lang.String COMMON_NAMESPACE
private static final java.lang.String COMMON_FACTORY
private static final java.lang.String COMMON_PRESET
private static final java.lang.String COMMON_POSTSET
private static final java.lang.String COMMON_PREGET
private static final java.lang.String COMMON_MARSHALLER
private static final java.lang.String COMMON_UNMARSHALLER
private static final java.lang.String COMMON_CREATETYPE
private static final java.lang.String COMMON_FIELD
private static final java.lang.String COMMON_TYPE
private static final java.lang.String COMMON_USAGE
private static final java.lang.String COMMON_TESTMETHOD
private static final java.lang.String COMMON_GETMETHOD
private static final java.lang.String COMMON_SETMETHOD
private static final java.lang.String COMMON_FLAGMETHOD
private static final java.lang.String COMMON_DEFAULT
private static final java.lang.String COMMON_SERIALIZER
private static final java.lang.String COMMON_WHITESPACE
private static final java.lang.String COMMON_DESERIALIZER
private static final java.lang.String COMMON_ENUMVALUEMETHOD
private static final java.lang.String COMMON_LABEL
private static final java.lang.String COMMON_USING
private static final java.lang.String COMMON_ORDERED
private static final java.lang.String COMMON_CHOICE
private static final java.lang.String COMMON_FLEXIBLE
private static final java.lang.String COMMON_DUPLICATES
private static final java.lang.String COMMON_NILLABLE
private static final java.lang.String BINDING_ELEMENT
private static final java.lang.String BINDING_NAME
private static final java.lang.String BINDING_DIRECTION
private static final java.lang.String BINDING_GLOBALID
private static final java.lang.String BINDING_FORWARDS
private static final java.lang.String BINDING_PACKAGE
private static final java.lang.String BINDING_TRACKING
private static final java.lang.String BINDING_FORCE
private static final java.lang.String BINDING_ADD
private static final java.lang.String BINDING_TRIM
private static final java.lang.String BINDING_MAJORVER
private static final java.lang.String BINDING_MINORVER
private static final java.lang.String NAMESPACE_ELEMENT
private static final java.lang.String NAMESPACE_URI
private static final java.lang.String NAMESPACE_PREFIX
private static final java.lang.String NAMESPACE_DEFAULT
private static final java.lang.String FORMAT_ELEMENT
private static final java.lang.String FORMAT_NAME
private static final java.lang.String FORMAT_TYPE
private static final java.lang.String MAPPING_ELEMENT
private static final java.lang.String MAPPING_CLASS
private static final java.lang.String MAPPING_ABSTRACT
private static final java.lang.String MAPPING_EXTENDS
private static final java.lang.String MAPPING_TYPENAME
private static final java.lang.String VALUE_ELEMENT
private static final java.lang.String VALUE_STYLE
private static final java.lang.String VALUE_FORMAT
private static final java.lang.String VALUE_CONSTANT
private static final java.lang.String VALUE_IDENT
private static final java.lang.String STRUCTURE_ELEMENT
private static final java.lang.String STRUCTURE_MAPAS
private static final java.lang.String COLLECTION_ELEMENT
private static final java.lang.String COLLECTION_LOADMETHOD
private static final java.lang.String COLLECTION_SIZEMETHOD
private static final java.lang.String COLLECTION_STOREMETHOD
private static final java.lang.String COLLECTION_ADDMETHOD
private static final java.lang.String COLLECTION_ITERMETHOD
private static final java.lang.String COLLECTION_ITEMTYPE
private static final java.lang.String INCLUDE_ELEMENT
private static final java.lang.String INCLUDE_PATH
private static final java.lang.String INCLUDE_PRECOMPILED
private static final java.lang.String[] VALUE_STYLE_NAMES
private static final int[] VALUE_STYLE_NUMS
private static final java.lang.String[] CONTAINING_STYLE_NAMES
private static final int[] CONTAINING_STYLE_NUMS
static final int LINK_NONE
static final int LINK_FIELDS
static final int LINK_METHODS
private static final java.lang.String[] AUTO_LINK_NAMES
private static final int[] AUTO_LINK_NUMS
static final int ACC_PRIVATE
static final int ACC_PACKAGE
static final int ACC_PROTECTED
static final int ACC_PUBLIC
private static final java.lang.String[] ACCESS_LEVEL_NAMES
private static final int[] ACCESS_LEVEL_NUMS
static final int NAME_HYPHENS
static final int NAME_MIXED
private static final java.lang.String[] NAME_GENERATE_NAMES
private static final int[] NAME_GENERATE_NUMS
private static final java.lang.String[] COMPONENT_OBJECT_NAMESPACES
private static final java.lang.String[] COMPONENT_OBJECT_NAMES
private static final java.lang.String[] NAMESPACEACCESS_NAMES
private static final int[] NAMESPACEACCESS_NUMS
private static final java.lang.String[] IDENTTYPE_NAMES
private static final int[] IDENTTYPE_NUMS
private static final int DIRECTION_INPUT
private static final int DIRECTION_OUTPUT
private static final int DIRECTION_BOTH
private static final java.lang.String[] BINDINGDIR_NAMES
private static final int[] BINDINGDIR_NUMS
private static final java.lang.String USAGE_OPTIONAL
private static final java.lang.String USAGE_REQUIRED
private static final java.lang.String UNMARSHALLER_INTERFACE
private static final java.lang.String MARSHALLER_INTERFACE
private static final java.lang.String UNMARSHALLER_INTERFACETYPE
private static final java.lang.String MARSHALLER_INTERFACETYPE
private static final java.lang.String CUSTOM_ENUM_SERIALIZER_NAME
private static final java.lang.String CUSTOM_ENUM_DESERIALIZER_NAME
private static boolean isNamePresent(UnmarshallingContext ctx)
ctx
- unmarshalling context informationtrue
if attributes define a name,
false
if notprivate static boolean isPropertyPresent(UnmarshallingContext ctx)
ctx
- unmarshalling context informationprivate static boolean isDirectObject(UnmarshallingContext ctx)
ctx
- unmarshalling context informationprivate static boolean isMappingRef(UnmarshallingContext ctx) throws JiBXException
ctx
- unmarshalling context informationtrue
if attributes define a mapping reference,
false
if notJiBXException
- if error in unmarshallingprivate static boolean isObjectBinding(UnmarshallingContext ctx) throws JiBXException
ctx
- unmarshalling context informationJiBXException
- if error in unmarshallingprivate static NameDefinition unmarshalName(UnmarshallingContext ctx, boolean attr) throws JiBXException
ctx
- unmarshalling context informationattr
- flag for attribute name definitionJiBXException
- if error in unmarshallingprivate static NamespaceDefinition unmarshalNamespace(UnmarshallingContext ctx) throws JiBXException
ctx
- unmarshalling context informationJiBXException
- if error in unmarshallingprivate static void buildEnumValueMethods(boolean exists, java.lang.String type, java.lang.String evmeth) throws JiBXException
exists
- only verify existing methods flagtype
- evmeth
- JiBXException
private static StringConversion unmarshalStringConversion(UnmarshallingContext ctx, boolean exists, StringConversion base, java.lang.String type) throws JiBXException
ctx
- unmarshalling context informationexists
- only verify existing methods flagbase
- conversion used as base for this conversiontype
- fully qualified class name of type handled by conversionJiBXException
- if error in unmarshallingprivate static boolean isOptionalProperty(UnmarshallingContext ctx) throws JiBXException
ctx
- unmarshalling context informationtrue
if attribute present with value "true",
false
otherwiseJiBXException
- if error in unmarshallingprivate static PropertyDefinition unmarshalProperty(UnmarshallingContext ctx, IContainer parent, IContextObj cobj, boolean opt) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structurecobj
- context object informationopt
- force optional value flagJiBXException
- if error in unmarshallingprivate static ValueChild unmarshalValue(UnmarshallingContext ctx, IContainer parent, IContextObj cobj, boolean uord, boolean impl, java.lang.String itype) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structurecobj
- context object informationuord
- unordered collection member flagimpl
- implicit value from collection flagitype
- base type for valueJiBXException
- if error in unmarshallingprivate static DirectObject unmarshalDirectObj(UnmarshallingContext ctx, java.lang.String type, IContainer parent, DefinitionContext defc, java.lang.String mapname, NameDefinition name) throws JiBXException
ctx
- unmarshalling context informationtype
- fully qualified class name of object type handledparent
- containing binding definition structuredefc
- definition context to be used (if separate from parent,
otherwise null
)mapname
- marshaller/unmarshaller namename
- element name information (null
if no element
name)JiBXException
- if error in unmarshallingprivate static IComponent unmarshalMappingRef(UnmarshallingContext ctx, IContainer parent, IContextObj objc, PropertyDefinition prop, NameDefinition name) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structureobjc
- current object contextprop
- property definitionname
- reference name definition (only allowed with abstract
mappings)JiBXException
- if error in unmarshallingprivate static IComponent unmarshalStructureRef(UnmarshallingContext ctx, IContainer contain, NameDefinition name, PropertyDefinition prop, IContextObj cobj) throws JiBXException
ctx
- unmarshalling context informationcontain
- containing binding componentname
- element name information (null
if no element
name)prop
- property definition (null
if no separate
property)cobj
- context objectJiBXException
- if error in unmarshallingprivate static void unmarshalStructureChildren(UnmarshallingContext ctx, NestedBase nest, IContextObj objc, boolean impl, java.lang.String itype) throws JiBXException
ctx
- unmarshalling context informationnest
- nested structure definitionobjc
- context object definitionimpl
- property value implicit flagitype
- item type for child componentsJiBXException
- if error in unmarshallingprivate static ObjectBinding unmarshalObjectBinding(UnmarshallingContext ctx, IContextObj objc, IContainer parent, java.lang.String type) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structureobjc
- current object contexttype
- fully qualified name of object classJiBXException
- if error in unmarshallingprivate static void unmarshalNamespaces(UnmarshallingContext ctx, DefinitionContext defc) throws JiBXException
ctx
- unmarshalling context informationdefc
- definition context for defined namespacesJiBXException
- if error in unmarshallingprivate static void unmarshalFormats(UnmarshallingContext ctx, boolean exists, DefinitionContext defc) throws JiBXException
ctx
- unmarshalling context informationexists
- only verify existing methods flagdefc
- definition context for defined formatsJiBXException
- if error in unmarshallingprivate static void unmarshalMappings(UnmarshallingContext ctx, IContainer parent, java.util.ArrayList nss, boolean uord) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structurenss
- extra namespaces to be included in this mapping definition
(may be null
)uord
- container is unordered structure flagJiBXException
- if error in unmarshallingpublic static IComponent unmarshalStructure(UnmarshallingContext ctx, IContainer contain, IContextObj cobj, boolean coll, boolean uord, boolean implic) throws JiBXException
ctx
- unmarshalling context informationcontain
- containing binding definition structurecobj
- context object informationcoll
- collection structure flaguord
- container is unordered structure flagimplic
- property value implicit flagJiBXException
- if error in unmarshallingpublic static IMapping unmarshalMapping(UnmarshallingContext ctx, IContainer parent, java.util.ArrayList nss, boolean uord) throws JiBXException
ctx
- unmarshalling context informationparent
- containing binding definition structurenss
- extra namespaces to be included in this mapping definition
(may be null
)uord
- container is unordered structure flagJiBXException
- if error in unmarshallingprivate static void preserveMethodClass(java.lang.String name)
name
- private static void unmarshalPrecompiledMappings(UnmarshallingContext ctx, IBindingFactory factory, IContainer parent, int[] nsxlate) throws JiBXException
ctx
- unmarshalling context informationfactory
- binding factory for mapping informationparent
- containing binding definition structurensxlate
- namespace index translation table (null
if
none)JiBXException
- if error in unmarshallingpublic static void unmarshalInclude(UnmarshallingContext ctx, boolean precomp, BindingDefinition bdef, java.net.URL root, java.util.ArrayList nslist, java.util.HashSet paths, IBindingFactory factory, int[] nsxlate) throws JiBXException
ctx
- unmarshalling context informationprecomp
- in precompiled bindings flagbdef
- binding definition at root of includesroot
- base URL for binding, or null
if unknownnslist
- list of namespaces definedpaths
- set of binding paths processedfactory
- precompiled binding factory (null
if not in
precompiled binding)nsxlate
- namespace translation table for precompiled binding
(null
if not in precompiled binding)JiBXException
- if error in unmarshallingpublic static BindingDefinition unmarshalBindingDefinition(UnmarshallingContext ctx, java.lang.String name, java.net.URL root) throws JiBXException
ctx
- unmarshalling context informationname
- default name for bindingroot
- base URL for binding, or null
if unknownJiBXException
- if error in unmarshalling