org.apache.axiom.om.impl.jaxp
Class OMResult

java.lang.Object
  extended by javax.xml.transform.sax.SAXResult
      extended by org.apache.axiom.om.impl.jaxp.OMResult
All Implemented Interfaces:
Result

public class OMResult
extends SAXResult

Implementation of 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.


Field Summary
 
Fields inherited from class javax.xml.transform.sax.SAXResult
FEATURE
 
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
 
Constructor Summary
OMResult()
           
OMResult(OMFactory omFactory)
           
 
Method Summary
 OMDocument getDocument()
           
 OMElement getRootElement()
           
 
Methods inherited from class javax.xml.transform.sax.SAXResult
getHandler, getLexicalHandler, getSystemId, setHandler, setLexicalHandler, setSystemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OMResult

public OMResult(OMFactory omFactory)

OMResult

public OMResult()
Method Detail

getDocument

public OMDocument getDocument()

getRootElement

public OMElement getRootElement()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.