public class OMResult extends SAXResult
Result
for AXIOM.
The implementation is based on SAXResult
and transforms the stream
of SAX events to an AXIOM tree using SAXOMBuilder
.
Note that building OMDocType
nodes from DTD information is
not supported.
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
OMResult() |
OMResult(OMFactory omFactory) |
Modifier and Type | Method and Description |
---|---|
OMDocument |
getDocument() |
OMElement |
getRootElement() |
getHandler, getLexicalHandler, getSystemId, setHandler, setLexicalHandler, setSystemId
public OMResult(OMFactory omFactory)
public OMResult()
public OMDocument getDocument()
public OMElement getRootElement()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.