KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > javacoding > jspider > core > event > impl > URLRelatedBaseEventImpl


1 package net.javacoding.jspider.core.event.impl;
2
3
4 import net.javacoding.jspider.core.SpiderContext;
5 import net.javacoding.jspider.core.event.CoreEventVisitor;
6
7 import java.net.URL JavaDoc;
8
9
10 /**
11  *
12  * $Id: URLRelatedBaseEventImpl.java,v 1.2 2003/02/06 17:22:24 vanrogu Exp $
13  *
14  * @author Günther Van Roey
15  */

16 public class URLRelatedBaseEventImpl extends BaseCoreEventImpl {
17
18     protected URL JavaDoc url;
19
20     public URLRelatedBaseEventImpl(SpiderContext context, URL JavaDoc url) {
21         super(context);
22         this.url = url;
23     }
24
25     public URL JavaDoc getURL() {
26         return url;
27     }
28
29     public void accept(URL JavaDoc url, CoreEventVisitor visitor) {
30         visitor.visit(url, this);
31     }
32
33 }
34
Popular Tags