public class XmlFormater extends NodeFormaterImpl<XmlDocument,XmlNode>
| Constructor and Description |
|---|
XmlFormater() |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuffer |
formatDocumentSelf(XmlDocument doc)
格式化xml文档 并以StringBuffer格式返回
|
protected void |
formatDocumentSelf(XmlDocument doc,
OutputStream out)
格式化xml文档 并在指定的输出流中输出
|
format, format, format, format, formatNode, formatNode, getEncode, getIndentString, getIndentString, setEncode, setIndentStringprotected StringBuffer formatDocumentSelf(XmlDocument doc)
formatDocumentSelf in class NodeFormaterImpl<XmlDocument,XmlNode>doc - protected void formatDocumentSelf(XmlDocument doc, OutputStream out) throws IOException
formatDocumentSelf in class NodeFormaterImpl<XmlDocument,XmlNode>doc - out - IOExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.