KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > facelets > tag > TagConfig


1 /**
2  * Licensed under the Common Development and Distribution License,
3  * you may not use this file except in compliance with the License.
4  * You may obtain a copy of the License at
5  *
6  * http://www.sun.com/cddl/
7  *
8  * Unless required by applicable law or agreed to in writing, software
9  * distributed under the License is distributed on an "AS IS" BASIS,
10  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11  * implied. See the License for the specific language governing
12  * permissions and limitations under the License.
13  */

14
15 package com.sun.facelets.tag;
16
17 import com.sun.facelets.FaceletHandler;
18
19 /**
20  * Passed to the constructor of TagHandler, it defines the document definition
21  * of the handler we are instantiating
22  *
23  * @see com.sun.facelets.tag.TagHandler
24  * @author Jacob Hookom
25  * @version $Id: TagConfig.java,v 1.2 2005/08/24 04:38:48 jhook Exp $
26  */

27 public interface TagConfig {
28
29     /**
30      * A Tag representing this handler
31      *
32      * @return a tag representing this handler
33      */

34     public Tag getTag();
35
36     /**
37      * The next FaceletHandler (child or children) to be applied
38      *
39      * @return next FaceletHandler, never null
40      */

41     public FaceletHandler getNextHandler();
42
43     /**
44      * A document-unique id, follows the convention "_tagId##"
45      *
46      * @return a document-unique id
47      */

48     public String JavaDoc getTagId();
49 }
50
Popular Tags