| java.lang.Object org.jibx.runtime.BindingDirectory
BindingDirectory | abstract public class BindingDirectory (Code) | | Abstract class with static method to find the binding factory corresponding
to a binding name.
author: Dennis M. Sosnoski version: 1.0 |
BINDINGFACTORY_PREFIX | final public static String BINDINGFACTORY_PREFIX(Code) | | Prefix of binding factory name.
|
BINDINGFACTORY_SUFFIX | final public static String BINDINGFACTORY_SUFFIX(Code) | | Suffix of binding factory name.
|
BINDINGLIST_NAME | final public static String BINDINGLIST_NAME(Code) | | Name of String[] field giving binding factory name list.
|
EMPTY_ARGS | final public static Class[] EMPTY_ARGS(Code) | | Empty argument list.
|
FACTORY_INSTMETHOD | final public static String FACTORY_INSTMETHOD(Code) | | Binding factory method to get instance of factory.
|
getFactory | public static IBindingFactory getFactory(String name, Class clas, ClassLoader loader) throws JiBXException(Code) | | Get instance of binding factory. Finds the binding factory for the
named binding on the target class, then loads that factory and returns
an instance.
Parameters: name - binding name Parameters: clas - target class for binding Parameters: loader - class loader to be used for loading factory binding factory instance throws: JiBXException - on any error in finding or accessing factory |
getFactory | public static IBindingFactory getFactory(String name, Class clas) throws JiBXException(Code) | | Get instance of binding factory. Finds the binding factory for the
named binding on the target class, then loads that factory and returns
an instance.
Parameters: name - binding name Parameters: clas - target class for binding binding factory instance throws: JiBXException - on any error in finding or accessing factory |
getFactory | public static IBindingFactory getFactory(Class clas) throws JiBXException(Code) | | Get instance of binding factory. Finds the binding factory for the
target class, then loads that factory and returns an instance. This
method can only be used with target classes that are mapped in only
one binding.
Parameters: clas - target class for binding binding factory instance throws: JiBXException - on any error in finding or accessing factory |
getFactory | public static IBindingFactory getFactory(String bname, String pack, ClassLoader loader) throws JiBXException(Code) | | Get instance of binding factory. Finds the binding factory for the
named binding on the target class, then loads that factory and returns
an instance.
Parameters: bname - binding name Parameters: pack - target package for binding Parameters: loader - class loader to be used for loading factory binding factory instance throws: JiBXException - on any error in finding or accessing factory |
getFactory | public static IBindingFactory getFactory(String bname, String pack) throws JiBXException(Code) | | Get instance of binding factory. Finds the binding factory for the named
binding compiled to the specified package, then loads that factory and
returns an instance.
Parameters: bname - binding name Parameters: pack - target package for binding binding factory instance throws: JiBXException - on any error in finding or accessing factory |
|
|