HTML Parser Home Page

org.htmlparser.visitors
Class StringFindingVisitor

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

public class StringFindingVisitor
extends NodeVisitor


Constructor Summary
StringFindingVisitor(String stringToFind)
           
StringFindingVisitor(String stringToFind, Locale locale)
           
 
Method Summary
 void doMultipleSearchesWithinStrings()
           
 int stringFoundCount()
           
 boolean stringWasFound()
           
 void visitStringNode(Text stringNode)
          Called for each StringNode visited.
 
Methods inherited from class org.htmlparser.visitors.NodeVisitor
beginParsing, finishedParsing, shouldRecurseChildren, shouldRecurseSelf, visitEndTag, visitRemarkNode, visitTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFindingVisitor

public StringFindingVisitor(String stringToFind)

StringFindingVisitor

public StringFindingVisitor(String stringToFind,
                            Locale locale)
Method Detail

doMultipleSearchesWithinStrings

public void doMultipleSearchesWithinStrings()

visitStringNode

public void visitStringNode(Text stringNode)
Description copied from class: NodeVisitor
Called for each StringNode visited.

Overrides:
visitStringNode in class NodeVisitor
Parameters:
stringNode - The string node being visited.

stringWasFound

public boolean stringWasFound()

stringFoundCount

public int stringFoundCount()

© 2006 Derrick Oswald
Sep 17, 2006

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