|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.tinygroup.xmlparser.document.XmlDocumentImpl
public class XmlDocumentImpl
| 构造方法摘要 | |
|---|---|
XmlDocumentImpl()
|
|
| 方法摘要 | |
|---|---|
void |
addComment(XmlNode node)
添加注释 |
void |
addDoctype(XmlNode node)
添加CDATA文本 |
void |
addProcessingInstruction(XmlNode node)
添加XML处理指令 |
List<XmlNode> |
getCommentList()
获取Xml注释 |
List<XmlNode> |
getDoctypeList()
获取CDATA部分 |
List<XmlNode> |
getProcessingInstructionList()
获取XML处理指令 |
XmlNode |
getRoot()
获取根结点 s |
XmlNode |
getXmlDeclaration()
获取XML声明 |
void |
setRoot(XmlNode root)
设置根结点 |
void |
setXmlDeclaration(XmlNode xmlDeclaration)
设置XML声明 |
String |
toString()
获取完整XML文档 |
void |
write(OutputStream out)
将XML文档写入指定的输出流中 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public XmlDocumentImpl()
| 方法详细信息 |
|---|
public XmlNode getRoot()
Document<XmlNode> 中的 getRootpublic void setRoot(XmlNode root)
Document<XmlNode> 中的 setRootroot - public XmlNode getXmlDeclaration()
XmlDocument 中的 getXmlDeclarationpublic void setXmlDeclaration(XmlNode xmlDeclaration)
XmlDocument 中的 setXmlDeclarationxmlDeclaration - public List<XmlNode> getCommentList()
XmlDocument 中的 getCommentListpublic List<XmlNode> getDoctypeList()
XmlDocument 中的 getDoctypeListpublic List<XmlNode> getProcessingInstructionList()
XmlDocument 中的 getProcessingInstructionListpublic void addDoctype(XmlNode node)
XmlDocument 中的 addDoctypeCDATA文本 - public void addProcessingInstruction(XmlNode node)
XmlDocument 中的 addProcessingInstructionprocessingInstruction - public void addComment(XmlNode node)
XmlDocument 中的 addCommentcomment - public String toString()
Object 中的 toString
public void write(OutputStream out)
throws IOException
Document<XmlNode> 中的 writeout -
IOException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||