Class FastInfosetResult

  • All Implemented Interfaces:
    javax.xml.transform.Result

    public class FastInfosetResult
    extends javax.xml.transform.sax.SAXResult
    A JAXP Result implementation that supports the serialization to fast infoset documents for use by applications that expect a Result.

    The derivation of FIResult from SAXResult 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 serializer specific solutions be used.

    General applications shall not call the following methods:

    • setHandler
    • setLexicalHandler
    • setSystemId

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.io.OutputStream _outputStream  
      • Fields inherited from class javax.xml.transform.sax.SAXResult

        FEATURE
      • Fields inherited from interface javax.xml.transform.Result

        PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
    • Constructor Summary

      Constructors 
      Constructor Description
      FastInfosetResult​(java.io.OutputStream outputStream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.ContentHandler getHandler()  
      org.xml.sax.ext.LexicalHandler getLexicalHandler()  
      java.io.OutputStream getOutputStream()  
      void setOutputStream​(java.io.OutputStream outputStream)  
      • Methods inherited from class javax.xml.transform.sax.SAXResult

        getSystemId, setHandler, setLexicalHandler, setSystemId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _outputStream

        java.io.OutputStream _outputStream
    • Constructor Detail

      • FastInfosetResult

        public FastInfosetResult​(java.io.OutputStream outputStream)
    • Method Detail

      • getHandler

        public org.xml.sax.ContentHandler getHandler()
        Overrides:
        getHandler in class javax.xml.transform.sax.SAXResult
      • getLexicalHandler

        public org.xml.sax.ext.LexicalHandler getLexicalHandler()
        Overrides:
        getLexicalHandler in class javax.xml.transform.sax.SAXResult
      • getOutputStream

        public java.io.OutputStream getOutputStream()
      • setOutputStream

        public void setOutputStream​(java.io.OutputStream outputStream)