Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.api

public Class CompositeStructure

extends Object
Class Inheritance

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. This object can be only used for marshalling, not for unmarshalling.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public Bridge<T>[]
public Object[]

Constructor Summary

AccessConstructor and Description
public
CompositeStructure()

Default constructor.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bridgesback to summary
public Bridge<T>[] bridges
valuesback to summary
public Object[] values

Constructor Detail

CompositeStructureback to summary
public CompositeStructure()

Default constructor.