org.dom4j.io
Class XMLResult
java.lang.Object
javax.xml.transform.sax.SAXResult
org.dom4j.io.XMLResult
- All Implemented Interfaces:
- javax.xml.transform.Result
public class XMLResult
- extends javax.xml.transform.sax.SAXResult
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
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 |
XMLResult
public XMLResult()
XMLResult
public XMLResult(java.io.Writer writer)
XMLResult
public XMLResult(java.io.Writer writer,
OutputFormat format)
XMLResult
public XMLResult(java.io.OutputStream out)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
XMLResult
public XMLResult(java.io.OutputStream out,
OutputFormat format)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
XMLResult
public XMLResult(XMLWriter xmlWriter)
getXMLWriter
public XMLWriter getXMLWriter()
setXMLWriter
public void setXMLWriter(XMLWriter writer)
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
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by SourceForge