Class OMSource

  extended by javax.xml.transform.sax.SAXSource
      extended by
All Implemented Interfaces:

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 this class only supports ContentHandler and LexicalHandler. DTDHandler and DeclHandler are not supported.

NOTE: As of version 1.2.13, application code should use OMContainer.getSAXSource(boolean) instead of instantiating this class directly.

Field Summary
Fields inherited from class javax.xml.transform.sax.SAXSource
Constructor Summary
OMSource(OMContainer node)
OMSource(OMElement element)
Method Summary
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OMSource(OMElement element)


public OMSource(OMContainer node)

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