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>


构造方法摘要
XmlFormater()
           
 
方法摘要
protected  StringBuffer formatDocumentSelf(XmlDocument doc)
          格式化xml文档 并以StringBuffer格式返回
protected  void formatDocumentSelf(XmlDocument doc, OutputStream out)
          格式化xml文档 并在指定的输出流中输出
 
从类 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.