public class OMSource
extends javax.xml.transform.sax.SAXSource
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.
| Constructor and Description |
|---|
OMSource(OMContainer node) |
OMSource(OMElement element) |
public OMSource(OMElement element)
public OMSource(OMContainer node)