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.
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
XMLResult() |
XMLResult(OutputStream out) |
XMLResult(OutputStream out,
OutputFormat format) |
XMLResult(Writer writer) |
XMLResult(Writer writer,
OutputFormat format) |
XMLResult(XMLWriter xmlWriter) |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
getHandler() |
LexicalHandler |
getLexicalHandler() |
XMLWriter |
getXMLWriter() |
void |
setXMLWriter(XMLWriter writer) |
getSystemId, setHandler, setLexicalHandler, setSystemId
public XMLResult()
public XMLResult(Writer writer)
public XMLResult(Writer writer, OutputFormat format)
public XMLResult(OutputStream out) throws UnsupportedEncodingException
UnsupportedEncodingException
public XMLResult(OutputStream out, OutputFormat format) throws UnsupportedEncodingException
UnsupportedEncodingException
public XMLResult(XMLWriter xmlWriter)
public XMLWriter getXMLWriter()
public void setXMLWriter(XMLWriter writer)
public ContentHandler getHandler()
getHandler
in class SAXResult
public LexicalHandler getLexicalHandler()
getLexicalHandler
in class SAXResult
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.