Class FastInfosetSource

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

public class FastInfosetSource extends 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 Details

    • FastInfosetSource

      public FastInfosetSource(InputStream inputStream)
  • Method Details