org.jvnet.fastinfoset
Class FastInfosetResult
java.lang.Object
javax.xml.transform.sax.SAXResult
org.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:
- setHandler
- setLexicalHandler
- setSystemId
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 |
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 |
FastInfosetResult
public FastInfosetResult(java.io.OutputStream outputStream)
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)