|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BindingFactory
Binding factory interface definition. This interface is implemented by the binding factory class generated by each binding definition. All binding factory instances are guaranteed to be threadsafe and reusable.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final int CURRENT_VERSION_NUMBER
static final java.lang.String CURRENT_VERSION_NAME
static final int COMPATIBLE_VERSION_MASK
Method Detail |
---|
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.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |