com.quiotix.html.parser
Class HtmlVisitor

java.lang.Object
  extended by com.quiotix.html.parser.HtmlVisitor
Direct Known Subclasses:
DumpLinks, HtmlCollector, HtmlDebugDumper, HtmlDumper, HtmlFormatter, HtmlScrubber

public abstract class HtmlVisitor
extends Object

Abstract class implementing Visitor pattern for HtmlDocument objects.

Author:
Brian Goetz, Quiotix

Constructor Summary
HtmlVisitor()
           
 
Method Summary
 void finish()
          Finish.
 void start()
          Start.
 void visit(HtmlDocument.Annotation a)
          Visit an Annotation.
 void visit(HtmlDocument.Comment c)
          Visit a Comment.
 void visit(HtmlDocument.ElementSequence s)
          Visit an ElementSequence.
 void visit(HtmlDocument.EndTag t)
          Visit an EndTag.
 void visit(HtmlDocument.Newline n)
          Visit a Newline.
 void visit(HtmlDocument.Tag t)
          Visit a Tag.
 void visit(HtmlDocument.TagBlock bl)
          Visit a TagBlock.
 void visit(HtmlDocument.Text t)
          Visit Text.
 void visit(HtmlDocument d)
          Visit an HtmlDocument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlVisitor

public HtmlVisitor()
Method Detail

visit

public void visit(HtmlDocument.Tag t)
Visit a Tag.


visit

public void visit(HtmlDocument.EndTag t)
Visit an EndTag.


visit

public void visit(HtmlDocument.Comment c)
Visit a Comment.


visit

public void visit(HtmlDocument.Text t)
Visit Text.


visit

public void visit(HtmlDocument.Newline n)
Visit a Newline.


visit

public void visit(HtmlDocument.Annotation a)
Visit an Annotation.


visit

public void visit(HtmlDocument.TagBlock bl)
Visit a TagBlock.


visit

public void visit(HtmlDocument.ElementSequence s)
Visit an ElementSequence.


visit

public void visit(HtmlDocument d)
Visit an HtmlDocument.


start

public void start()
Start.


finish

public void finish()
Finish.



Copyright © 1999-2011 Quiotix. All Rights Reserved.