Class OMSource

java.lang.Object
javax.xml.transform.sax.SAXSource
org.apache.axiom.om.impl.jaxp.OMSource
All Implemented Interfaces:
Source

public class OMSource extends SAXSource
Implementation of Source for AXIOM. The implementation is based on SAXSource and directly transforms an AXIOM tree into a stream of SAX events using OMXMLReader.

Note that OMDocType nodes are not supported and will be silently skipped.

  • Constructor Details

    • OMSource

      public OMSource(OMElement element)