com.sun.xml.bind.api
Class CompositeStructure
java.lang.Object
com.sun.xml.bind.api.CompositeStructure
public class CompositeStructure
- extends java.lang.Object
A JAXB Bean that works like a DOM.
This bean is bound to XML as a sequence of elements, where each
element[i] is from bridges[i] (which defines the tag name and the expected type)
and values[i] (which defines the actual value.)
This object allows you to treat multiple unrelated JAXB beans as a single tree.
This in turn allows you to marshal this tree in one marshal method invocation,
which is faster than multiple invocations of the marshal method.
The binding of this class is always known to JAXBRIContext
, so it can be
used without passing anything to JAXBRIContext.newInstance(java.lang.Class[], java.util.Collection, java.util.Map, java.lang.String, boolean, com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader)
.
This object can be only used for marshalling, not for unmarshalling.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bridges
public Bridge[] bridges
values
public java.lang.Object[] values
CompositeStructure
public CompositeStructure()