KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > standard > tag > common > core > ParamParent


1 /*
2  * Copyright 1999-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
17 package org.apache.taglibs.standard.tag.common.core;
18
19 /**
20  * <p>Interface for tag handlers implementing valid parent tags for
21  * &lt;c:param&gt;.</p>
22  *
23  * @author Shawn Bayern
24  */

25
26 public interface ParamParent {
27
28     /**
29      * Adds a parameter to this tag's URL. The intent is that the
30      * &lt;param&gt; subtag will call this to register URL parameters.
31      * Assumes that 'name' and 'value' are appropriately encoded and do
32      * not contain any meaningful metacharacters; in order words, escaping
33      * is the responsibility of the caller.
34      *
35      * @see ParamSupport
36      */

37     void addParameter(String JavaDoc name, String JavaDoc value);
38
39 }
40
Popular Tags