KickJava   Java API By Example, From Geeks To Geeks.

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


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 javax.el.ELException;
18 import javax.faces.FacesException;
19
20 /**
21  * Delegate class for TagLibraries
22  *
23  * @see TagLibrary
24  * @author Jacob Hookom
25  * @version $Id: TagHandlerFactory.java,v 1.3 2005/08/24 04:38:48 jhook Exp $
26  */

27 interface TagHandlerFactory {
28     /**
29      * A new TagHandler instantiated with the passed TagConfig
30      *
31      * @param cfg
32      * TagConfiguration information
33      * @return a new TagHandler
34      * @throws FacesException
35      * @throws ELException
36      */

37     public TagHandler createHandler(TagConfig cfg) throws FacesException,
38             ELException;
39 }
40
Popular Tags