public class CoreXMLDocument extends Object implements commonj.sdo.helper.XMLDocument
| Constructor and Description |
|---|
CoreXMLDocument(commonj.sdo.DataObject rootDataObject) |
CoreXMLDocument(commonj.sdo.DataObject rootDataObject,
String rootElementURI,
String rootElementName) |
CoreXMLDocument(commonj.sdo.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.
|
commonj.sdo.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(commonj.sdo.DataObject rootDataObject)
public CoreXMLDocument(commonj.sdo.DataObject rootDataObject,
XMLOptions xmlOptions)
public String getEncoding()
getEncoding in interface commonj.sdo.helper.XMLDocumentpublic String getNoNamespaceSchemaLocation()
getNoNamespaceSchemaLocation in interface commonj.sdo.helper.XMLDocumentpublic String getRootElementName()
getRootElementName in interface commonj.sdo.helper.XMLDocumentpublic String getRootElementURI()
getRootElementURI in interface commonj.sdo.helper.XMLDocumentpublic commonj.sdo.DataObject getRootObject()
getRootObject in interface commonj.sdo.helper.XMLDocumentpublic String getSchemaLocation()
getSchemaLocation in interface commonj.sdo.helper.XMLDocumentpublic String getXMLVersion()
getXMLVersion in interface commonj.sdo.helper.XMLDocumentpublic boolean isXMLDeclaration()
isXMLDeclaration in interface commonj.sdo.helper.XMLDocumentpublic void setEncoding(String encoding)
setEncoding in interface commonj.sdo.helper.XMLDocumentpublic void setNoNamespaceSchemaLocation(String schemaLocation)
setNoNamespaceSchemaLocation in interface commonj.sdo.helper.XMLDocumentpublic void setSchemaLocation(String schemaLocation)
setSchemaLocation in interface commonj.sdo.helper.XMLDocumentpublic void setXMLDeclaration(boolean xmlDeclaration)
setXMLDeclaration in interface commonj.sdo.helper.XMLDocumentpublic void setXMLVersion(String xmlVersion)
setXMLVersion in interface commonj.sdo.helper.XMLDocumentCopyright © 2021. All rights reserved.