public class CoreXMLDocument extends Object implements XMLDocument
| Constructor and Description |
|---|
CoreXMLDocument(DataObject rootDataObject) |
CoreXMLDocument(DataObject rootDataObject,
String rootElementURI,
String rootElementName) |
CoreXMLDocument(DataObject rootDataObject,
XMLOptions xmlOptions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding()
Return the XML encoding of the document, or null if not specified.
|
String |
getNoNamespaceSchemaLocation()
Return the value of the noNamespaceSchemaLocation declaration for the
http://www.w3.org/2001/XMLSchema-instance namespace in the root element,
or null if not present.
|
String |
getRootElementName()
Return the name of the root element.
|
String |
getRootElementURI()
Return the targetNamespace URI for the root element.
|
DataObject |
getRootObject()
Return the root DataObject for the XMLDocument.
|
String |
getSchemaLocation()
Return the value of the schemaLocation declaration for the
http://www.w3.org/2001/XMLSchema-instance namespace in the root element,
or null if not present.
|
String |
getXMLVersion() |
boolean |
isXMLDeclaration() |
void |
setEncoding(String encoding) |
void |
setNoNamespaceSchemaLocation(String schemaLocation) |
void |
setSchemaLocation(String schemaLocation) |
void |
setXMLDeclaration(boolean xmlDeclaration) |
void |
setXMLVersion(String xmlVersion) |
public CoreXMLDocument(DataObject rootDataObject)
public CoreXMLDocument(DataObject rootDataObject, XMLOptions xmlOptions)
public CoreXMLDocument(DataObject rootDataObject, String rootElementURI, String rootElementName)
public String getEncoding()
getEncoding in interface XMLDocumentpublic String getNoNamespaceSchemaLocation()
getNoNamespaceSchemaLocation in interface XMLDocumentpublic String getRootElementName()
getRootElementName in interface XMLDocumentpublic String getRootElementURI()
getRootElementURI in interface XMLDocumentpublic DataObject getRootObject()
getRootObject in interface XMLDocumentpublic String getSchemaLocation()
getSchemaLocation in interface XMLDocumentpublic String getXMLVersion()
getXMLVersion in interface XMLDocumentpublic boolean isXMLDeclaration()
isXMLDeclaration in interface XMLDocumentpublic void setEncoding(String encoding)
setEncoding in interface XMLDocumentpublic void setNoNamespaceSchemaLocation(String schemaLocation)
setNoNamespaceSchemaLocation in interface XMLDocumentpublic void setSchemaLocation(String schemaLocation)
setSchemaLocation in interface XMLDocumentpublic void setXMLDeclaration(boolean xmlDeclaration)
setXMLDeclaration in interface XMLDocumentpublic void setXMLVersion(String xmlVersion)
setXMLVersion in interface XMLDocumentCopyright © 2017. All rights reserved.