org.jvnet.fastinfoset
Class FastInfosetResult

java.lang.Object
  extended byjavax.xml.transform.sax.SAXResult
      extended byorg.jvnet.fastinfoset.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:


Field Summary
 
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
FastInfosetResult(java.io.OutputStream outputStream)
           
 
Method Summary
 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
 

Constructor Detail

FastInfosetResult

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

getHandler

public org.xml.sax.ContentHandler getHandler()

getLexicalHandler

public org.xml.sax.ext.LexicalHandler getLexicalHandler()

getOutputStream

public java.io.OutputStream getOutputStream()

setOutputStream

public void setOutputStream(java.io.OutputStream outputStream)