EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.oxm
Class XMLRoot

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

public class XMLRoot
extends java.lang.Object


Field Summary
protected  java.lang.String encoding
           
protected  java.lang.String noNamespaceSchemaLocation
           
protected  org.eclipse.persistence.internal.oxm.XPathFragment rootFragment
           
protected  java.lang.Object rootObject
           
protected  java.lang.String schemaLocation
           
protected  javax.xml.namespace.QName schemaType
           
protected  java.lang.String xmlVersion
           
 
Constructor Summary
XMLRoot()
           
 
Method Summary
 java.lang.String getEncoding()
           
 java.lang.String getLocalName()
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNoNamespaceSchemaLocation()
           
 java.lang.Object getObject()
           
 org.eclipse.persistence.internal.oxm.XPathFragment getRootFragment()
          INTERNAL:
 java.lang.String getSchemaLocation()
           
 javax.xml.namespace.QName getSchemaType()
           
 java.lang.String getXMLVersion()
           
 void setEncoding(java.lang.String encoding)
           
 void setLocalName(java.lang.String name)
          Set the element name.
 void setNamespaceURI(java.lang.String rootElementUri)
           
 void setNoNamespaceSchemaLocation(java.lang.String noNamespaceSchemaLocation)
           
 void setObject(java.lang.Object rootObject)
           
 void setSchemaLocation(java.lang.String schemaLocation)
           
 void setSchemaType(javax.xml.namespace.QName schemaType)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootObject

protected java.lang.Object rootObject

rootFragment

protected org.eclipse.persistence.internal.oxm.XPathFragment rootFragment

encoding

protected java.lang.String encoding

xmlVersion

protected java.lang.String xmlVersion

schemaLocation

protected java.lang.String schemaLocation

noNamespaceSchemaLocation

protected java.lang.String noNamespaceSchemaLocation

schemaType

protected javax.xml.namespace.QName schemaType
Constructor Detail

XMLRoot

public XMLRoot()
Method Detail

getObject

public java.lang.Object getObject()

getLocalName

public java.lang.String getLocalName()

getNamespaceURI

public java.lang.String getNamespaceURI()

setObject

public void setObject(java.lang.Object rootObject)

setLocalName

public void setLocalName(java.lang.String name)
Set the element name. This method will parse the qualified name in an attempt to set the prefix and localName fields. If there is no prefix, the prefix field is set to null.

Parameters:
qualifiedName - a fully qualified element name

setNamespaceURI

public void setNamespaceURI(java.lang.String rootElementUri)

getRootFragment

public org.eclipse.persistence.internal.oxm.XPathFragment getRootFragment()
INTERNAL:


getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String encoding)

getXMLVersion

public java.lang.String getXMLVersion()

setVersion

public void setVersion(java.lang.String version)

getSchemaLocation

public java.lang.String getSchemaLocation()

setSchemaLocation

public void setSchemaLocation(java.lang.String schemaLocation)

getNoNamespaceSchemaLocation

public java.lang.String getNoNamespaceSchemaLocation()

setNoNamespaceSchemaLocation

public void setNoNamespaceSchemaLocation(java.lang.String noNamespaceSchemaLocation)

setSchemaType

public void setSchemaType(javax.xml.namespace.QName schemaType)

getSchemaType

public javax.xml.namespace.QName getSchemaType()

EclipseLink 1.1.4, build 'v20100812-r7860' API Reference