|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OMDocument
Field Summary | |
---|---|
static String |
XML_10
Field XML_10 XML Version 1.0 |
static String |
XML_11
Field XML_11 XML Version 1.1 |
Method Summary | |
---|---|
String |
getCharsetEncoding()
Get the character set encoding scheme. |
OMElement |
getOMDocumentElement()
Get the document element. |
String |
getXMLEncoding()
Get the charset encoding of this document as specified in the XML declaration. |
String |
getXMLVersion()
Returns the XML version. |
String |
isStandalone()
XML standalone value. |
void |
setCharsetEncoding(String charsetEncoding)
Sets the character set encoding scheme to be used. |
void |
setOMDocumentElement(OMElement documentElement)
Set the document element of the XML document. |
void |
setStandalone(String isStandalone)
|
void |
setXMLEncoding(String encoding)
Set the charset encoding for the XML declaration of this document. |
void |
setXMLVersion(String version)
Sets the XML version. |
Methods inherited from interface org.apache.axiom.om.OMContainer |
---|
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.OMSerializable |
---|
build, close, isComplete, serialize, serialize, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.OMInformationItem |
---|
clone, getOMFactory |
Field Detail |
---|
static final String XML_10
static final String XML_11
Method Detail |
---|
OMElement getOMDocumentElement()
null
if the document doesn't have any children
of type OMElement
void setOMDocumentElement(OMElement documentElement)
documentElement
- the new document element; must not be null
IllegalArgumentException
- if the parameter is null
String getCharsetEncoding()
null
when it is not known, such as
when the document was created in memory or from a character stream.
null
if the encoding is not
knownvoid setCharsetEncoding(String charsetEncoding)
charsetEncoding
- String getXMLVersion()
void setXMLVersion(String version)
version
- XML_10
,
XML_11
String getXMLEncoding()
null
if the
document didn't have an XML declaration or if the encoding
attribute was
not specified in the XML declarationvoid setXMLEncoding(String encoding)
encoding
- the value of the encoding
attribute of the XML declarationString isStandalone()
void setStandalone(String isStandalone)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |