org.htmlparser.visitors
Class StringFindingVisitor
java.lang.Object
org.htmlparser.visitors.NodeVisitor
org.htmlparser.visitors.StringFindingVisitor
public class StringFindingVisitor
- extends NodeVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringFindingVisitor
public StringFindingVisitor(String stringToFind)
StringFindingVisitor
public StringFindingVisitor(String stringToFind,
Locale locale)
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()