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
构造器和说明 |
---|
XMLResult() |
XMLResult(OutputStream out) |
XMLResult(OutputStream out,
OutputFormat format) |
XMLResult(Writer writer) |
XMLResult(Writer writer,
OutputFormat format) |
XMLResult(XMLWriter xmlWriter) |
限定符和类型 | 方法和说明 |
---|---|
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
public XMLResult(OutputStream out, OutputFormat format) throws UnsupportedEncodingException
public XMLResult(XMLWriter xmlWriter)
public XMLWriter getXMLWriter()
public void setXMLWriter(XMLWriter writer)
public ContentHandler getHandler()
getHandler
在类中 SAXResult
public LexicalHandler getLexicalHandler()
getLexicalHandler
在类中 SAXResult
Copyright © 2005 MetaStuff Ltd. All Rights Reserved. Hosted by