- 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.
-
-
Constructor Summary
Constructors Constructor Description FastInfosetSource(java.io.InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
org.xml.sax.XMLReader
getXMLReader()
void
setInputStream(java.io.InputStream inputStream)
-