Get a secondary context for the same tree as this instance. The secondary
context shares the same skip set, context, and binding root as the
original context. This allows activites invoked during the touring of the
original tree to start subtours of their own part of the tree.
new context linked to original context
Get class information. Finds a class by name using the class locator
configured by the environment code.
Parameters: name - fully-qualified name of class to be found class information, or null if class not found
Get parent container with linked object. This returns the innermost
containing binding component which defines a context object.
innermost containing element defining a context object
Get definition context for innermost nesting element. If the context for
this element isn't already defined it's created by the call.
definition context for innermost nesting element
Get definition context for innermost nesting element for use by a
format (or namespace). If the context for this element
isn't already defined it's created by the call, along with the contexts
for any containing elements. This is ugly, but necessary to keep the tree
structure of contexts from getting split when other items are added by
the registration pass (since the formats are registered in the
prevalidation pass).
definition context for innermost nesting element
Get parent container information. This returns the innermost containing
binding component which refers to an object.
innermost containing element referencing bound object
Get containing element. This is equivalent to the generation
1 parent, except that it checks for the case where there's
no parent present.
binding definition component for parent element, ornull if no parent
Get containing element at generation level. All except the zero-level
containing element are guaranteed to be instances of
org.jibx.binding.model.NestingElementBase .
Parameters: level - generation level of parent binding definition component for parent at level
Get requiried class information. Finds a class by name using the class
locator configured by the environment code. If the class cannot be found
a runtime exception is thrown.
Parameters: name - fully-qualified name of class to be found class information
Set root element of binding. This should be called by the user if an
element other than the binding element is going to be used as the root
for a tour.
Parameters: root - root element of binding
Set the global definition context. This context is external to the actual
binding definition, providing defaults that can be overridden by values
set within the actual binding.
Parameters: dctx - global definition context
Tour complete binding model tree. This tours the entire binding model,
starting from the root binding element. Using this method automatically
sets the root binding element for access by processing performed during
the tour. It must be used for the binding element in order to
handle included binding definitions properly.
Parameters: root - binding element root of tree Parameters: visitor - target visitor for element notifications
Tour binding model tree. This recursively traverses the binding model
tree rooted in the supplied element, notifying the visitor of each
element visited during the traversal. Elements with fatal errors are
skipped in processing, along with all child elements. The method may
itself be called recursively.
Parameters: root - node of tree to be toured Parameters: visitor - target visitor for element notifications