KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > facelets > tag > jsf > html > HtmlLibrary


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.jsf.html;
16
17 /**
18  * @author Jacob Hookom
19  * @version $Id: HtmlLibrary.java,v 1.2 2005/08/24 04:38:46 jhook Exp $
20  */

21 public final class HtmlLibrary extends AbstractHtmlLibrary {
22
23     public final static String JavaDoc Namespace = "http://java.sun.com/jsf/html";
24
25     public final static HtmlLibrary Instance = new HtmlLibrary();
26
27     public HtmlLibrary() {
28         super(Namespace);
29
30         this.addHtmlComponent("column", "javax.faces.Column", null);
31
32         this.addHtmlComponent("commandButton", "javax.faces.HtmlCommandButton",
33                 "javax.faces.Button");
34
35         this.addHtmlComponent("commandLink", "javax.faces.HtmlCommandLink",
36                 "javax.faces.Link");
37
38         this.addHtmlComponent("dataTable", "javax.faces.HtmlDataTable",
39                 "javax.faces.Table");
40
41         this.addHtmlComponent("form", "javax.faces.HtmlForm",
42                 "javax.faces.Form");
43
44         this.addHtmlComponent("graphicImage", "javax.faces.HtmlGraphicImage",
45                 "javax.faces.Image");
46
47         this.addHtmlComponent("inputHidden", "javax.faces.HtmlInputHidden",
48                 "javax.faces.Hidden");
49
50         this.addHtmlComponent("inputSecret", "javax.faces.HtmlInputSecret",
51                 "javax.faces.Secret");
52
53         this.addHtmlComponent("inputText", "javax.faces.HtmlInputText",
54                 "javax.faces.Text");
55
56         this.addHtmlComponent("inputTextarea", "javax.faces.HtmlInputTextarea",
57                 "javax.faces.Textarea");
58
59         this.addHtmlComponent("message", "javax.faces.HtmlMessage",
60                 "javax.faces.Message");
61
62         this.addHtmlComponent("messages", "javax.faces.HtmlMessages",
63                 "javax.faces.Messages");
64
65         this.addHtmlComponent("outputFormat", "javax.faces.HtmlOutputFormat",
66                 "javax.faces.Format");
67
68         this.addHtmlComponent("outputLabel", "javax.faces.HtmlOutputLabel",
69                 "javax.faces.Label");
70
71         this.addHtmlComponent("outputLink", "javax.faces.HtmlOutputLink",
72                 "javax.faces.Link");
73
74         this.addHtmlComponent("outputText", "javax.faces.HtmlOutputText",
75                 "javax.faces.Text");
76
77         this.addHtmlComponent("panelGrid", "javax.faces.HtmlPanelGrid",
78                 "javax.faces.Grid");
79
80         this.addHtmlComponent("panelGroup", "javax.faces.HtmlPanelGroup",
81                 "javax.faces.Group");
82
83         this
84                 .addHtmlComponent("selectBooleanCheckbox",
85                         "javax.faces.HtmlSelectBooleanCheckbox",
86                         "javax.faces.Checkbox");
87
88         this.addHtmlComponent("selectManyCheckbox",
89                 "javax.faces.HtmlSelectManyCheckbox", "javax.faces.Checkbox");
90
91         this.addHtmlComponent("selectManyListbox",
92                 "javax.faces.HtmlSelectManyListbox", "javax.faces.Listbox");
93
94         this.addHtmlComponent("selectManyMenu",
95                 "javax.faces.HtmlSelectManyMenu", "javax.faces.Menu");
96
97         this.addHtmlComponent("selectOneListbox",
98                 "javax.faces.HtmlSelectOneListbox", "javax.faces.Listbox");
99
100         this.addHtmlComponent("selectOneMenu", "javax.faces.HtmlSelectOneMenu",
101                 "javax.faces.Menu");
102
103         this.addHtmlComponent("selectOneRadio",
104                 "javax.faces.HtmlSelectOneRadio", "javax.faces.Radio");
105     }
106
107 }
108
Popular Tags