KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > javacoding > jspider > api > event > EventVisitable


1 package net.javacoding.jspider.api.event;
2
3
4 /**
5  * Visitable part of the Visitor pattern implementation that's used for the
6  * handling of JSpider API events. By implementing this interface, the Event
7  * becomes visitable for an EventVisitor
8  *
9  * $Id: EventVisitable.java,v 1.1.1.1 2002/11/20 17:02:31 vanrogu Exp $
10  *
11  * @author Günther Van Roey
12  */

13 public interface EventVisitable {
14
15
16     /**
17      * Notifies the visitable object that a visitor wants to visit it.
18      * @param visitor the visitor object that wants to visit this visitable
19      */

20     public void accept(EventVisitor visitor);
21
22 }
23
Popular Tags