KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > portal > event > impl > CopletLinkEvent


1 /*
2  * Copyright 1999-2002,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.portal.event.impl;
17
18 import org.apache.cocoon.portal.coplet.CopletInstanceData;
19 import org.apache.cocoon.portal.event.CopletInstanceEvent;
20
21 /**
22  * This class realizes a link event created by the EventLinkTransformer.
23  *
24  * @author <a HREF="mailto:bluetkemeier@s-und-n.de">Bj&ouml;rn L&uuml;tkemeier</a>
25  *
26  * @version CVS $Id: CopletLinkEvent.java 30932 2004-07-29 17:35:38Z vgritsenko $
27  */

28 public class CopletLinkEvent
29 extends AbstractActionEvent
30 implements CopletInstanceEvent {
31     
32     /**
33      * The link to be handled by this event.
34      */

35     protected String JavaDoc link;
36     
37     /**
38      * Creates a new LinkEvent.
39      */

40     public CopletLinkEvent(CopletInstanceData target, String JavaDoc link) {
41         super(target);
42         this.link = link;
43     }
44     
45     /**
46      * Gets this event's link.
47      */

48     public String JavaDoc getLink() {
49         return this.link;
50     }
51 }
52
Popular Tags