Class OMSource

  • All Implemented Interfaces:
    Source

    public class OMSource
    extends SAXSource
    Deprecated.
    As of version 1.2.13, application code should use OMContainer.getSAXSource(boolean) instead of this class.
    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 this class only supports ContentHandler and LexicalHandler. DTDHandler and DeclHandler are not supported.

    • Constructor Detail

      • OMSource

        public OMSource​(org.apache.axiom.om.OMElement element)
        Deprecated.
      • OMSource

        public OMSource​(org.apache.axiom.om.OMContainer node)
        Deprecated.