org.tinygroup.xmlparser.formatter
类 XmlFormater
java.lang.Object
org.tinygroup.parser.formater.NodeFormaterImpl<XmlDocument,XmlNode>
org.tinygroup.xmlparser.formatter.XmlFormater
- 所有已实现的接口:
- NodeFormater<XmlNode,XmlDocument>
public class XmlFormater
- extends NodeFormaterImpl<XmlDocument,XmlNode>
| 从类 org.tinygroup.parser.formater.NodeFormaterImpl 继承的方法 |
format, format, format, format, formatNode, formatNode, getEncode, getIndentString, getIndentString, setEncode, setIndentString |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFormater
public XmlFormater()
formatDocumentSelf
protected StringBuffer formatDocumentSelf(XmlDocument doc)
- 格式化xml文档 并以StringBuffer格式返回
- 指定者:
- 类
NodeFormaterImpl<XmlDocument,XmlNode> 中的 formatDocumentSelf
- 参数:
doc -
- 返回:
- StringBuffer
formatDocumentSelf
protected void formatDocumentSelf(XmlDocument doc,
OutputStream out)
throws IOException
- 格式化xml文档 并在指定的输出流中输出
- 指定者:
- 类
NodeFormaterImpl<XmlDocument,XmlNode> 中的 formatDocumentSelf
- 参数:
doc - out -
- 抛出:
IOException
Copyright © 2006–2016 TinyGroup. All rights reserved.