HTML Parser Home Page

org.htmlparser.visitors
Class HtmlPage

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

public class HtmlPage
extends NodeVisitor


Constructor Summary
HtmlPage(Parser parser)
           
 
Method Summary
 NodeList getBody()
           
 TableTag[] getTables()
           
 String getTitle()
           
 void setTitle(String title)
           
 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

HtmlPage

public HtmlPage(Parser parser)
Method Detail

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

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.

getBody

public NodeList getBody()

getTables

public TableTag[] getTables()

© 2006 Derrick Oswald
Sep 17, 2006

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