public class HtmlPage extends NodeVisitor
限定符和类型 | 方法和说明 |
---|---|
NodeList |
getBody() |
TableTag[] |
getTables() |
java.lang.String |
getTitle() |
void |
setTitle(java.lang.String title) |
void |
visitTag(Tag tag)
Called for each
Tag visited. |
beginParsing, finishedParsing, shouldRecurseChildren, shouldRecurseSelf, visitEndTag, visitRemarkNode, visitStringNode
public HtmlPage(Parser parser)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void visitTag(Tag tag)
NodeVisitor
Tag
visited.visitTag
在类中 NodeVisitor
tag
- The tag being visited.public NodeList getBody()
public TableTag[] getTables()