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.
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, setSystemIdpublic XMLResult()
public XMLResult(Writer writer)
public XMLResult(Writer writer, OutputFormat format)
public XMLResult(OutputStream out) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic XMLResult(OutputStream out, OutputFormat format) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic XMLResult(XMLWriter xmlWriter)
public XMLWriter getXMLWriter()
public void setXMLWriter(XMLWriter writer)
public ContentHandler getHandler()
getHandler in class SAXResultpublic LexicalHandler getLexicalHandler()
getLexicalHandler in class SAXResultCopyright © 2012 JBoss by Red Hat. All Rights Reserved.