public class OMSource extends 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) |
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSourcepublic OMSource(OMElement element)
public OMSource(OMContainer node)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.