org.eclipse.persistence.oxm
Class XMLRoot

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

public class XMLRoot
extends Object


Constructor Summary
XMLRoot()
           
 
Method Summary
 Class getDeclaredType()
           
 String getEncoding()
           
 String getLocalName()
           
 String getNamespaceURI()
           
 String getNoNamespaceSchemaLocation()
           
 Object getObject()
           
 org.eclipse.persistence.internal.oxm.XPathFragment getRootFragment()
          INTERNAL:
 String getSchemaLocation()
           
 QName getSchemaType()
           
 String getXMLVersion()
           
 boolean isNil()
           
 void setDeclaredType(Class type)
           
 void setEncoding(String encoding)
           
 void setLocalName(String name)
          Set the element name.
 void setNamespaceURI(String rootElementUri)
           
 void setNil(boolean nil)
           
 void setNoNamespaceSchemaLocation(String noNamespaceSchemaLocation)
           
 void setObject(Object rootObject)
           
 void setSchemaLocation(String schemaLocation)
           
 void setSchemaType(QName schemaType)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLRoot

public XMLRoot()
Method Detail

getObject

public Object getObject()

getLocalName

public String getLocalName()

getNamespaceURI

public String getNamespaceURI()

setObject

public void setObject(Object rootObject)

setLocalName

public void setLocalName(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(String rootElementUri)

getRootFragment

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


getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getXMLVersion

public String getXMLVersion()

setVersion

public void setVersion(String version)

getSchemaLocation

public String getSchemaLocation()

setSchemaLocation

public void setSchemaLocation(String schemaLocation)

getNoNamespaceSchemaLocation

public String getNoNamespaceSchemaLocation()

setNoNamespaceSchemaLocation

public void setNoNamespaceSchemaLocation(String noNamespaceSchemaLocation)

setSchemaType

public void setSchemaType(QName schemaType)

getSchemaType

public QName getSchemaType()

setDeclaredType

public void setDeclaredType(Class type)

getDeclaredType

public Class getDeclaredType()

isNil

public boolean isNil()

setNil

public void setNil(boolean nil)