|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.runtime.BindingDirectory
public abstract class BindingDirectory
Abstract class with static methods to find the binding factory corresponding to a binding name.
Field Summary | |
---|---|
static java.lang.String |
BINDINGFACTORY_SUFFIX
Suffix of binding factory name. |
static java.lang.String |
BINDINGLIST_NAME
Name of String[] field giving binding factory name list. |
static java.lang.Class[] |
EMPTY_ARGS
Empty argument list. |
static java.lang.String |
FACTORY_INSTMETHOD
Binding factory method to get instance of factory. |
static java.lang.String |
GENERATE_PREFIX
Prefix used in all code generation for methods and classes. |
Constructor Summary | |
---|---|
BindingDirectory()
|
Method Summary | |
---|---|
static java.lang.String |
convertName(java.lang.String name)
Generate binding name. |
static IBindingFactory |
getFactory(java.lang.Class clas)
Get instance of binding factory. |
static IBindingFactory |
getFactory(java.lang.String name,
java.lang.Class clas)
Get instance of binding factory. |
static IBindingFactory |
getFactory(java.lang.String name,
java.lang.Class clas,
java.lang.ClassLoader loader)
Get instance of binding factory. |
static IBindingFactory |
getFactory(java.lang.String bname,
java.lang.String pack)
Get instance of binding factory. |
static IBindingFactory |
getFactory(java.lang.String bname,
java.lang.String pack,
java.lang.ClassLoader loader)
Get instance of binding factory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BINDINGLIST_NAME
String[]
field giving binding factory name list.
public static final java.lang.String GENERATE_PREFIX
public static final java.lang.String BINDINGFACTORY_SUFFIX
public static final java.lang.String FACTORY_INSTMETHOD
public static final java.lang.Class[] EMPTY_ARGS
Constructor Detail |
---|
public BindingDirectory()
Method Detail |
---|
public static IBindingFactory getFactory(java.lang.String name, java.lang.Class clas, java.lang.ClassLoader loader) throws JiBXException
name
- binding nameclas
- target class for bindingloader
- class loader to be used for loading factory
JiBXException
- on any error in finding or accessing factorypublic static IBindingFactory getFactory(java.lang.String name, java.lang.Class clas) throws JiBXException
name
- binding nameclas
- target class for binding
JiBXException
- on any error in finding or accessing factorypublic static IBindingFactory getFactory(java.lang.Class clas) throws JiBXException
clas
- target class for binding
JiBXException
- on any error in finding or accessing factorypublic static IBindingFactory getFactory(java.lang.String bname, java.lang.String pack, java.lang.ClassLoader loader) throws JiBXException
bname
- binding namepack
- target package for bindingloader
- class loader to be used for loading factory
JiBXException
- on any error in finding or accessing factorypublic static IBindingFactory getFactory(java.lang.String bname, java.lang.String pack) throws JiBXException
bname
- binding namepack
- target package for binding
JiBXException
- on any error in finding or accessing factorypublic static java.lang.String convertName(java.lang.String name)
name
- base binding name
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |