HTML Parser Home Page

org.htmlparser.visitors
Class LinkFindingVisitor

java.lang.Object
  extended by org.htmlparser.visitors.NodeVisitor
      extended by org.htmlparser.visitors.LinkFindingVisitor

public class LinkFindingVisitor
extends NodeVisitor


Constructor Summary
LinkFindingVisitor(String linkTextToFind)
           
LinkFindingVisitor(String linkTextToFind, Locale locale)
           
 
Method Summary
 int getCount()
           
 boolean linkTextFound()
           
 void visitTag(Tag tag)
          Called for each Tag visited.
 
Methods inherited from class org.htmlparser.visitors.NodeVisitor
beginParsing, finishedParsing, shouldRecurseChildren, shouldRecurseSelf, visitEndTag, visitRemarkNode, visitStringNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkFindingVisitor

public LinkFindingVisitor(String linkTextToFind)

LinkFindingVisitor

public LinkFindingVisitor(String linkTextToFind,
                          Locale locale)
Method Detail

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.

linkTextFound

public boolean linkTextFound()

getCount

public int getCount()

© 2006 Derrick Oswald
Sep 17, 2006

HTML Parser is an open source library released under Common Public License. SourceForge.net