EventVisitable.java
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:1k
源码类别:

搜索引擎

开发平台:

Java

  1. package net.javacoding.jspider.api.event;
  2. /**
  3.  * Visitable part of the Visitor pattern implementation that's used for the
  4.  * handling of JSpider API events.  By implementing this interface, the Event
  5.  * becomes visitable for an EventVisitor
  6.  *
  7.  * $Id: EventVisitable.java,v 1.1.1.1 2002/11/20 17:02:31 vanrogu Exp $
  8.  *
  9.  * @author  G黱ther Van Roey
  10.  */
  11. public interface EventVisitable {
  12.     /**
  13.      * Notifies the visitable object that a visitor wants to visit it.
  14.      * @param visitor the visitor object that wants to visit this visitable
  15.      */
  16.     public void accept(EventVisitor visitor);
  17. }