01: package net.javacoding.jspider.core.event;
02:
03: import net.javacoding.jspider.core.event.impl.*;
04:
05: import java.net.URL;
06:
07: /**
08: *
09: * $Id: CoreEventVisitor.java,v 1.3 2003/02/13 20:12:53 vanrogu Exp $
10: *
11: * @author Günther Van Roey
12: */
13: public interface CoreEventVisitor {
14:
15: public void visit(URL url, CoreEvent event);
16:
17: public void visit(URL url, URLSpideredOkEvent event);
18:
19: public void visit(URL url, URLSpideredErrorEvent event);
20:
21: public void visit(URL url, ResourceParsedOkEvent event);
22:
23: public void visit(URL url, ResourceParsedErrorEvent event);
24:
25: public void visit(URL url, URLFoundEvent event);
26:
27: public void visit(URL url, RobotsTXTSpideredOkEvent event);
28:
29: public void visit(URL url, RobotsTXTSpideredErrorEvent event);
30:
31: public void visit(URL url, RobotsTXTUnexistingEvent event);
32:
33: }
|