|
||||||||||
| 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()
Returns the character set encoding scheme. |
OMElement |
getOMDocumentElement()
Returns the document element. |
OMFactory |
getOMFactory()
Returns the OMFactory that created this object |
String |
getXMLVersion()
Returns the XML version. |
String |
isStandalone()
XML standalone value. |
void |
serialize(OutputStream output)
Serializes the document with cache on. |
void |
serialize(OutputStream output,
OMOutputFormat format)
Builds the OM node/tree and then serializes the document. |
void |
serializeAndConsume(OutputStream output)
Serializes the OMDocument. |
void |
serializeAndConsume(OutputStream output,
OMOutputFormat format)
Serializes the OMDocument. |
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 |
setXMLVersion(String version)
Sets the XML version. |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
addChild, buildNext, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, isComplete |
| Field Detail |
|---|
static final String XML_10
static final String XML_11
| Method Detail |
|---|
OMElement getOMDocumentElement()
void setOMDocumentElement(OMElement rootElement)
rootElement - String getXMLVersion()
void setXMLVersion(String version)
version - XML 1.0,
XML 1.1String getCharsetEncoding()
void setCharsetEncoding(String charsetEncoding)
charsetEncoding - String isStandalone()
void setStandalone(String isStandalone)
void serializeAndConsume(OutputStream output,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
output - format -
javax.xml.stream.XMLStreamException
void serialize(OutputStream output,
OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
output - format -
javax.xml.stream.XMLStreamException
void serializeAndConsume(OutputStream output)
throws javax.xml.stream.XMLStreamException
output -
javax.xml.stream.XMLStreamException
void serialize(OutputStream output)
throws javax.xml.stream.XMLStreamException
output -
javax.xml.stream.XMLStreamExceptionOMFactory getOMFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||