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.
author: Dennis M. Sosnoski version: 1.0
Get names of elements corresponding to mapped classes. The returned array
uses the same ordering as the result of the
IBindingFactory.getMappedClasses call. Entries in the array are null if there is no element
for a class.
array of element names
Get namespaces of elements corresponding to mapped classes. The returned
array uses the same ordering as the result of the
IBindingFactory.getMappedClasses call. Entries in the array are null if
there is no element for a class or the element is in the default
namespace.
array of element namespaces
Get mapped class names (or type names, in the case of abstract mappings).
Returns array of fully-qualified class and/or type names, ordered by
index number of the class.
array of class names
Get namespaces defined in mapping. The returned array is indexed by the
namespace index number used when marshalling.
array of namespaces defined in binding (null if notan output binding)
Get initial prefixes for namespaces defined in mapping. The returned
array is indexed by the namespace index number used when marshalling.
Note that these are only the first prefixes associated with each
namespace; it's possible to reuse the namespace in the binding with a
different prefix.
array of prefixes for namespaces defined in binding(null if not an output binding)
Get mapped class index from type name for abstract non-base mappings
included in the binding. This is intended to allow identifying and using
abstract mappings (basically type mappings) at runtime. The method is
only returns a non-negative result if the "force-classes" option is used
for the binding definition (since otherwise no marshaller/unmarshaller
classes are created for abstract non-base mappings).
Parameters: type - fully-qualified class or type name mapping index for type, or -1 if type is not anabstract non-base mapping