com.quiotix.html.parser
Interface Visitable

All Known Implementing Classes:
HtmlDocument, HtmlDocument.Annotation, HtmlDocument.Comment, HtmlDocument.EndTag, HtmlDocument.HtmlElement, HtmlDocument.Newline, HtmlDocument.Tag, HtmlDocument.TagBlock, HtmlDocument.Text

public interface Visitable

An Object which can be visited by an HtmlVisitor as per the Visitor Pattern. This interface is redundant as the requirement to support an accept method is already enforced by HtmlElement; however HtmlDocument is visitable but is not an HtmlDocument.

Since:
15 Nov 2007
Author:
timp

Method Summary
 void accept(HtmlVisitor v)
          Allow the Visitor to visit.
 

Method Detail

accept

void accept(HtmlVisitor v)
Allow the Visitor to visit.

Parameters:
v - the visitor which has come to call


Copyright © 1999-2011 Quiotix. All Rights Reserved.