HTML Parser Home Page

org.htmlparser.visitors
Class ObjectFindingVisitor

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

public class ObjectFindingVisitor
extends NodeVisitor


Constructor Summary
ObjectFindingVisitor(Class classTypeToFind)
           
ObjectFindingVisitor(Class classTypeToFind, boolean recurse)
           
 
Method Summary
 int getCount()
           
 Node[] getTags()
           
 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

ObjectFindingVisitor

public ObjectFindingVisitor(Class classTypeToFind)

ObjectFindingVisitor

public ObjectFindingVisitor(Class classTypeToFind,
                            boolean recurse)
Method Detail

getCount

public int getCount()

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.

getTags

public Node[] getTags()

© 2006 Derrick Oswald
Sep 17, 2006

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