01: package net.javacoding.jspider.api.event;
02:
03: /**
04: * Visitable part of the Visitor pattern implementation that's used for the
05: * handling of JSpider API events. By implementing this interface, the Event
06: * becomes visitable for an EventVisitor
07: *
08: * $Id: EventVisitable.java,v 1.1.1.1 2002/11/20 17:02:31 vanrogu Exp $
09: *
10: * @author Günther Van Roey
11: */
12: public interface EventVisitable {
13:
14: /**
15: * Notifies the visitable object that a visitor wants to visit it.
16: * @param visitor the visitor object that wants to visit this visitable
17: */
18: public void accept(EventVisitor visitor);
19:
20: }
|