org.dom4j.io

Class XMLResult


public class XMLResult
extends SAXResult

XMLResult implements a JAXP SAXResultfor an output stream with support for pretty printing and control over how the XML is formatted.
Version:
$Revision: 1.9 $
Author:
James Strachan

Constructor Summary

XMLResult()
XMLResult(OutputStream out)
XMLResult(OutputStream out, OutputFormat format)
XMLResult(Writer writer)
XMLResult(Writer writer, OutputFormat format)
XMLResult(XMLWriter xmlWriter)

Method Summary

ContentHandler
getHandler()
LexicalHandler
getLexicalHandler()
XMLWriter
getXMLWriter()
void
setXMLWriter(XMLWriter writer)

Constructor Details

XMLResult

public XMLResult()

XMLResult

public XMLResult(OutputStream out)
            throws UnsupportedEncodingException

XMLResult

public XMLResult(OutputStream out,
                 OutputFormat format)
            throws UnsupportedEncodingException

XMLResult

public XMLResult(Writer writer)

XMLResult

public XMLResult(Writer writer,
                 OutputFormat format)

XMLResult

public XMLResult(XMLWriter xmlWriter)

Method Details

getHandler

public ContentHandler getHandler()

getLexicalHandler

public LexicalHandler getLexicalHandler()

getXMLWriter

public XMLWriter getXMLWriter()

setXMLWriter

public void setXMLWriter(XMLWriter writer)

Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge Logo