Package org.apache.axiom.om
Interface OMDocument
- All Superinterfaces:
OMContainer,OMSerializable
- All Known Subinterfaces:
SOAPMessage
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the character set encoding scheme.Returns the document element.Returns the XML version.XML standalone value.voidsetCharsetEncoding(String charsetEncoding) Sets the character set encoding scheme to be used.voidsetOMDocumentElement(OMElement rootElement) Sets the document element of the XML document.voidsetStandalone(String isStandalone) voidsetXMLVersion(String version) Sets the XML version.Methods inherited from interface org.apache.axiom.om.OMContainer
addChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeMethods inherited from interface org.apache.axiom.om.OMSerializable
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
-
Field Details
-
XML_10
Field XML_10 XML Version 1.0- See Also:
-
XML_11
Field XML_11 XML Version 1.1- See Also:
-
-
Method Details
-
getOMDocumentElement
OMElement getOMDocumentElement()Returns the document element.- Returns:
- Returns OMElement.
-
setOMDocumentElement
Sets the document element of the XML document.- Parameters:
rootElement-
-
getXMLVersion
String getXMLVersion()Returns the XML version.- Returns:
- Returns String.
-
setXMLVersion
Sets the XML version.- Parameters:
version-- See Also:
-
getCharsetEncoding
String getCharsetEncoding()Returns the character set encoding scheme.- Returns:
- Returns String.
-
setCharsetEncoding
Sets the character set encoding scheme to be used.- Parameters:
charsetEncoding-
-
isStandalone
String isStandalone()XML standalone value. This will be yes, no or null (if not available)- Returns:
- Returns boolean.
-
setStandalone
-