|
||||||||||
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()
Returns 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 rootElement)
Sets 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, 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 |
---|
static final String XML_10
static final String XML_11
Method Detail |
---|
OMElement getOMDocumentElement()
void setOMDocumentElement(OMElement rootElement)
rootElement
- 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 1.0
,
XML 1.1
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 |