EventVisitable.java
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:1k
- package net.javacoding.jspider.api.event;
- /**
- * Visitable part of the Visitor pattern implementation that's used for the
- * handling of JSpider API events. By implementing this interface, the Event
- * becomes visitable for an EventVisitor
- *
- * $Id: EventVisitable.java,v 1.1.1.1 2002/11/20 17:02:31 vanrogu Exp $
- *
- * @author G黱ther Van Roey
- */
- public interface EventVisitable {
- /**
- * Notifies the visitable object that a visitor wants to visit it.
- * @param visitor the visitor object that wants to visit this visitable
- */
- public void accept(EventVisitor visitor);
- }