KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > facelets > tag > jstl > core > JstlCoreLibrary


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.jstl.core;
16
17 import com.sun.facelets.tag.AbstractTagLibrary;
18
19 /**
20  * @author Jacob Hookom
21  * @version $Id: JstlCoreLibrary.java,v 1.4 2006/01/07 15:32:07 jhook Exp $
22  */

23 public final class JstlCoreLibrary extends AbstractTagLibrary {
24
25     public final static String JavaDoc Namespace = "http://java.sun.com/jstl/core";
26
27     public final static JstlCoreLibrary Instance = new JstlCoreLibrary();
28
29     public JstlCoreLibrary() {
30         super(Namespace);
31
32         this.addTagHandler("if", IfHandler.class);
33
34         this.addTagHandler("forEach", ForEachHandler.class);
35
36         this.addTagHandler("catch", CatchHandler.class);
37         
38         this.addTagHandler("choose", ChooseHandler.class);
39         
40         this.addTagHandler("when", ChooseWhenHandler.class);
41         
42         this.addTagHandler("otherwise", ChooseOtherwiseHandler.class);
43         
44         this.addTagHandler("set", SetHandler.class);
45     }
46
47 }
48
Popular Tags