org.jvnet.fastinfoset
Class FastInfosetSource

java.lang.Object
  extended by javax.xml.transform.sax.SAXSource
      extended by org.jvnet.fastinfoset.FastInfosetSource
All Implemented Interfaces:
javax.xml.transform.Source

public class FastInfosetSource
extends javax.xml.transform.sax.SAXSource

A JAXP Source implementation that supports the parsing fast infoset document for use by applications that expect a Source.

The derivation of FISource from SAXSource is an implementation detail.

This implementation is designed for interoperation with JAXP and is not not designed with performance in mind. It is recommended that for performant interoperation alternative parser specific solutions be used.

Applications shall obey the following restrictions:


Field Summary
 
Fields inherited from class javax.xml.transform.sax.SAXSource
FEATURE
 
Constructor Summary
FastInfosetSource(java.io.InputStream inputStream)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 org.xml.sax.XMLReader getXMLReader()
           
 void setInputStream(java.io.InputStream inputStream)
           
 
Methods inherited from class javax.xml.transform.sax.SAXSource
getInputSource, getSystemId, setInputSource, setSystemId, setXMLReader, sourceToInputSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastInfosetSource

public FastInfosetSource(java.io.InputStream inputStream)
Method Detail

getXMLReader

public org.xml.sax.XMLReader getXMLReader()
Overrides:
getXMLReader in class javax.xml.transform.sax.SAXSource

getInputStream

public java.io.InputStream getInputStream()

setInputStream

public void setInputStream(java.io.InputStream inputStream)