org.htmlparser.visitors
Class TagFindingVisitor
java.lang.Object
org.htmlparser.visitors.NodeVisitor
org.htmlparser.visitors.TagFindingVisitor
public class TagFindingVisitor
- extends NodeVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagFindingVisitor
public TagFindingVisitor(String[] tagsToBeFound)
TagFindingVisitor
public TagFindingVisitor(String[] tagsToBeFound,
boolean endTagCheck)
getTagCount
public int getTagCount(int index)
visitTag
public void visitTag(Tag tag)
- Description copied from class:
NodeVisitor
- Called for each
Tag
visited.
- Overrides:
visitTag
in class NodeVisitor
- Parameters:
tag
- The tag being visited.
visitEndTag
public void visitEndTag(Tag tag)
- Description copied from class:
NodeVisitor
- Called for each
Tag
visited that is an end tag.
- Overrides:
visitEndTag
in class NodeVisitor
- Parameters:
tag
- The end tag being visited.
getTags
public Node[] getTags(int index)
getEndTagCount
public int getEndTagCount(int index)