public interface BindingFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPATIBLE_VERSION_MASK
Mask for portions of version number that effect compatibility.
|
static java.lang.String |
CURRENT_VERSION_NAME
Current distribution file name.
|
static int |
CURRENT_VERSION_NUMBER
Current binary version number.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createElementInstance(java.lang.String root,
XmlReader rdr,
java.lang.Object inst)
Creat instance of class for element name.
|
java.lang.Object |
createTypeInstance(java.lang.String dflt,
XmlReader rdr,
java.lang.Object inst)
Validate instance of class for type name.
|
java.lang.String[] |
getElementNames()
Get names of elements corresponding to mapped classes.
|
java.lang.String[] |
getElementNamespaces()
Get namespaces of elements corresponding to mapped classes.
|
java.lang.String[] |
getMappedClasses()
Get mapped class names (or type names, in the case of abstract mappings).
|
java.lang.String[] |
getNamespaces()
Get namespaces defined in mapping.
|
java.lang.String[] |
getPrefixes()
Get initial prefixes for namespaces defined in mapping.
|
static final int CURRENT_VERSION_NUMBER
static final java.lang.String CURRENT_VERSION_NAME
static final int COMPATIBLE_VERSION_MASK
java.lang.Object createElementInstance(java.lang.String root,
XmlReader rdr,
java.lang.Object inst)
root - global root element name, including namespace URI, in "lname{uri}" formrdr - readerinst - supplied instance of root element class or subclass (null if none)java.lang.Object createTypeInstance(java.lang.String dflt,
XmlReader rdr,
java.lang.Object inst)
dflt - global default complexType name, including namespace URI, in "lname{uri}" formrdr - readerinst - supplied instance of default type class or subclass (null if none)java.lang.String[] getNamespaces()
null if not an output binding)java.lang.String[] getPrefixes()
null if not an output binding)java.lang.String[] getMappedClasses()
java.lang.String[] getElementNamespaces()
getMappedClasses() call. Entries in the array are null if there is no element
for a class or the element is in the default namespace.java.lang.String[] getElementNames()
getMappedClasses() call. Entries in the array are null if there is no element for a
class.