org.eclipse.persistence.oxm
Class XMLRoot
java.lang.Object
org.eclipse.persistence.oxm.XMLRoot
- Direct Known Subclasses:
- SDOXMLDocument
public class XMLRoot
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
declaredType
protected java.lang.Class declaredType
nil
protected boolean nil
XMLRoot
public XMLRoot()
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()
setDeclaredType
public void setDeclaredType(java.lang.Class type)
getDeclaredType
public java.lang.Class getDeclaredType()
isNil
public boolean isNil()
setNil
public void setNil(boolean nil)