Package org.apache.axiom.om
Interface OMDocument
-
- All Superinterfaces:
OMContainer,OMSerializable
- All Known Subinterfaces:
SOAPMessage
public interface OMDocument extends OMContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCharsetEncoding()Returns the character set encoding scheme.OMElementgetOMDocumentElement()Returns the document element.StringgetXMLVersion()Returns the XML version.StringisStandalone()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, serializeAndConsume
-
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
-
-
-
-
Field Detail
-
XML_10
static final String XML_10
Field XML_10 XML Version 1.0- See Also:
- Constant Field Values
-
XML_11
static final String XML_11
Field XML_11 XML Version 1.1- See Also:
- Constant Field Values
-
-
Method Detail
-
getOMDocumentElement
OMElement getOMDocumentElement()
Returns the document element.- Returns:
- Returns OMElement.
-
setOMDocumentElement
void setOMDocumentElement(OMElement rootElement)
Sets the document element of the XML document.- Parameters:
rootElement-
-
getXMLVersion
String getXMLVersion()
Returns the XML version.- Returns:
- Returns String.
-
setXMLVersion
void setXMLVersion(String version)
Sets the XML version.- Parameters:
version-- See Also:
XML 1.0,XML 1.1
-
getCharsetEncoding
String getCharsetEncoding()
Returns the character set encoding scheme.- Returns:
- Returns String.
-
setCharsetEncoding
void setCharsetEncoding(String charsetEncoding)
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
void setStandalone(String isStandalone)
-
-