public interface HtmlDocument extends Document<HtmlNode>
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(HtmlNode node)
添加注释
|
void |
addDoctype(HtmlNode node)
添加CDATA文本
|
void |
addProcessingInstruction(HtmlNode node)
添加HTML处理指令
|
List<HtmlNode> |
getCommentList()
获取Html注释
|
List<HtmlNode> |
getDoctypeList()
获取CDATA部分
|
HtmlNode |
getHtmlDeclaration()
获取HTML声明
|
List<HtmlNode> |
getProcessingInstructionList()
获取HTML处理指令
|
void |
setHtmlDeclaration(HtmlNode node)
设置HTML声明
|
HtmlNode getHtmlDeclaration()
void setHtmlDeclaration(HtmlNode node)
node - void addDoctype(HtmlNode node)
node - void addProcessingInstruction(HtmlNode node)
node - void addComment(HtmlNode node)
node - Copyright © 2006–2018 TinyGroup. All rights reserved.