public interface XmlDocument extends Document<XmlNode>
Modifier and Type | Method and Description |
---|---|
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 |
getXmlDeclaration()
获取XML声明
|
void |
setXmlDeclaration(XmlNode node)
设置XML声明
|
XmlNode getXmlDeclaration()
void setXmlDeclaration(XmlNode node)
xmlDeclaration
- void addDoctype(XmlNode node)
CDATA文本
- void addProcessingInstruction(XmlNode node)
processingInstruction
- void addComment(XmlNode node)
comment
- Copyright © 2006–2018 TinyGroup. All rights reserved.