Package org.apache.axiom.om.impl.jaxp
Class OMResult
- java.lang.Object
-
- javax.xml.transform.sax.SAXResult
-
- org.apache.axiom.om.impl.jaxp.OMResult
-
- All Implemented Interfaces:
Result
public class OMResult extends SAXResult
Implementation ofResultfor AXIOM. The implementation is based onSAXResultand transforms the stream of SAX events to an AXIOM tree usingSAXOMBuilder.Note that building
OMDocTypenodes from DTD information is not supported.
-
-
Field Summary
-
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OMDocumentgetDocument()OMElementgetRootElement()-
Methods inherited from class javax.xml.transform.sax.SAXResult
getHandler, getLexicalHandler, getSystemId, setHandler, setLexicalHandler, setSystemId
-
-
-
-
Constructor Detail
-
OMResult
public OMResult(OMFactory omFactory)
-
OMResult
public OMResult()
-
-
Method Detail
-
getDocument
public OMDocument getDocument()
-
getRootElement
public OMElement getRootElement()
-
-