EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.oxm
Class XMLRoot

java.lang.Object
  extended by org.eclipse.persistence.internal.oxm.Root
      extended by org.eclipse.persistence.oxm.XMLRoot
Direct Known Subclasses:
SDOXMLDocument

public class XMLRoot
extends org.eclipse.persistence.internal.oxm.Root

XMLRoot 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 XMLDescriptor.

XMLRoot objects can be returned from XMLUnmarshaller unmarshal operations and can be given to XMLMarshaller.marshal operations. They may also be in values return by XMLAnyCollectionMappings and XMLAnyObjectMappings.


Field Summary
 
Fields inherited from class org.eclipse.persistence.internal.oxm.Root
declaredType, encoding, localName, namespaceUri, nil, noNamespaceSchemaLocation, prefix, rootObject, schemaLocation, schemaType, xmlVersion
 
Constructor Summary
XMLRoot()
           
 
Method Summary
 
Methods inherited from class org.eclipse.persistence.internal.oxm.Root
getDeclaredType, getEncoding, getLocalName, getNamespaceURI, getNoNamespaceSchemaLocation, getObject, getSchemaLocation, getSchemaType, getXMLVersion, isNil, setDeclaredType, setEncoding, setLocalName, setNamespaceURI, setNil, setNoNamespaceSchemaLocation, setObject, setSchemaLocation, setSchemaType, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLRoot

public XMLRoot()

EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference