All root instances created by a content session become invalid after the content session is closed. Any method called on an invalid root instance will throw an {@code InvalidStateException}.
{@link Tree} instances may become non existing after a call to{@link #refresh()}, {@link #rebase()} or {@link #commit()}. Any write access to non existing {@code Tree} instances will cause an{@code InvalidStateException}. @see Tree Existence and iterability of trees
Root is used to hold an Object along with the corresponding QName and some other related information. Typically this is used when the object is marshalled/unmarshalled to a QName other than the defaultRootElement set on the Descriptor.
Root objects can be returned from Unmarshaller unmarshal operations and can be given to Marshaller.marshal operations. They may also be in values returned by AnyCollectionMappings and AnyObjectMappings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|