Package org.dom4j.io
Class XMLResult
java.lang.Object
javax.xml.transform.sax.SAXResult
org.dom4j.io.XMLResult
- All Implemented Interfaces:
Result
XMLResult
implements a JAXP SAXResult
for an output
stream with support for pretty printing and control over how the XML is
formatted.
- Version:
- $Revision: 1.9 $
- Author:
- James Strachan
-
Field Summary
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
ConstructorsConstructorDescriptionXMLResult
(OutputStream out) XMLResult
(OutputStream out, OutputFormat format) XMLResult
(Writer writer, OutputFormat format) -
Method Summary
Methods inherited from class javax.xml.transform.sax.SAXResult
getSystemId, setHandler, setLexicalHandler, setSystemId
-
Constructor Details
-
XMLResult
public XMLResult() -
XMLResult
-
XMLResult
-
XMLResult
- Throws:
UnsupportedEncodingException
-
XMLResult
- Throws:
UnsupportedEncodingException
-
XMLResult
-
-
Method Details
-
getXMLWriter
-
setXMLWriter
-
getHandler
- Overrides:
getHandler
in classSAXResult
-
getLexicalHandler
- Overrides:
getLexicalHandler
in classSAXResult
-