org.apache.axiom.om.impl.jaxp
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 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OMSource
public OMSource(OMElement element)
OMSource
public OMSource(OMContainer node)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.