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

  • Constructor Details

    • OMResult

      public OMResult(OMFactory omFactory)
    • OMResult

      public OMResult()
  • Method Details

    • getDocument

      public OMDocument getDocument()
    • getRootElement

      public OMElement getRootElement()