01: package net.javacoding.jspider.core.event.impl;
02:
03: import net.javacoding.jspider.core.SpiderContext;
04: import net.javacoding.jspider.core.event.CoreEventVisitor;
05:
06: import java.net.URL;
07:
08: /**
09: *
10: * $Id: URLRelatedBaseEventImpl.java,v 1.2 2003/02/06 17:22:24 vanrogu Exp $
11: *
12: * @author Günther Van Roey
13: */
14: public class URLRelatedBaseEventImpl extends BaseCoreEventImpl {
15:
16: protected URL url;
17:
18: public URLRelatedBaseEventImpl(SpiderContext context, URL url) {
19: super (context);
20: this .url = url;
21: }
22:
23: public URL getURL() {
24: return url;
25: }
26:
27: public void accept(URL url, CoreEventVisitor visitor) {
28: visitor.visit(url, this);
29: }
30:
31: }
|