org.apache.axiom.om.impl.jaxp
Class OMSource

java.lang.Object
  extended by javax.xml.transform.sax.SAXSource
      extended by 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.


Field Summary
 
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
 
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

OMSource

public OMSource(OMElement element)

OMSource

public OMSource(OMContainer node)


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