org.jvnet.fastinfoset
Class FastInfosetSource
java.lang.Object
javax.xml.transform.sax.SAXSource
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:
- The setXMLReader and setInputSource shall not be called.
- The XMLReader object obtained by the getXMLReader method shall
be used only for parsing the InputSource object returned by
the getInputSource method.
- The InputSource object obtained by the getInputSource method shall
be used only for being parsed by the XMLReader object returned by
the getXMLReader method.
Fields inherited from class javax.xml.transform.sax.SAXSource |
FEATURE |
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 |
FastInfosetSource
public FastInfosetSource(java.io.InputStream inputStream)
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)