public class HtmlPage extends NodeVisitor
Modifier and Type | Method and Description |
---|---|
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
in class NodeVisitor
tag
- The tag being visited.public NodeList getBody()
public TableTag[] getTables()
HTML Parser is an open source library released under LGPL.