org.dom4j.io
Class XMLResult
java.lang.Object
javax.xml.transform.sax.SAXResult
org.dom4j.io.XMLResult
- All Implemented Interfaces:
- Result
public class XMLResult
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLResult
public XMLResult()
XMLResult
public XMLResult(Writer writer)
XMLResult
public XMLResult(Writer writer,
OutputFormat format)
XMLResult
public XMLResult(OutputStream out)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
XMLResult
public XMLResult(OutputStream out,
OutputFormat format)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
XMLResult
public XMLResult(XMLWriter xmlWriter)
getXMLWriter
public XMLWriter getXMLWriter()
setXMLWriter
public void setXMLWriter(XMLWriter writer)
getHandler
public ContentHandler getHandler()
- Overrides:
getHandler
in class SAXResult
getLexicalHandler
public LexicalHandler getLexicalHandler()
- Overrides:
getLexicalHandler
in class SAXResult
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by