Package org.jvnet.fastinfoset
Class FastInfosetResult
- java.lang.Object
-
- javax.xml.transform.sax.SAXResult
-
- org.jvnet.fastinfoset.FastInfosetResult
-
- All Implemented Interfaces:
Result
public class FastInfosetResult extends 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 inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Constructor Summary
Constructors Constructor Description FastInfosetResult(OutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentHandler
getHandler()
LexicalHandler
getLexicalHandler()
OutputStream
getOutputStream()
void
setOutputStream(OutputStream outputStream)
-
Methods inherited from class javax.xml.transform.sax.SAXResult
getSystemId, setHandler, setLexicalHandler, setSystemId
-
-
-
-
Constructor Detail
-
FastInfosetResult
public FastInfosetResult(OutputStream outputStream)
-
-
Method Detail
-
getHandler
public ContentHandler getHandler()
- Overrides:
getHandler
in classSAXResult
-
getLexicalHandler
public LexicalHandler getLexicalHandler()
- Overrides:
getLexicalHandler
in classSAXResult
-
getOutputStream
public OutputStream getOutputStream()
-
setOutputStream
public void setOutputStream(OutputStream outputStream)
-
-