KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > renderkit > html > HTML


1 /*
2  * Copyright 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 package org.apache.myfaces.renderkit.html;
17
18 import org.apache.myfaces.util.ArrayUtils;
19
20
21 /**
22  * Constant declarations for HTML rendering.
23  * @author Manfred Geiler (latest modification by $Author: svieujot $)
24  * @author Anton Koinov
25  * @version $Revision: 1.22 $ $Date: 2005/02/28 20:40:15 $
26  * $Log: HTML.java,v $
27  * Revision 1.22 2005/02/28 20:40:15 svieujot
28  * closed MYFACES-112
29  *
30  * Revision 1.21 2005/02/16 00:50:37 oros
31  * SF issue #1043331: replaced all   by the corresponding numeric entity   so safari users will be happy, too, with MyFaces output
32  *
33  * Revision 1.20 2004/12/27 04:11:11 mmarinschek
34  * Data Table stores the state of facets of children; script tag is rendered with type attribute instead of language attribute, popup works better as a column in a data table
35  *
36  * Revision 1.19 2004/12/04 03:22:45 svieujot
37  * Bugfix for BR_ELEM
38  *
39  * Revision 1.18 2004/12/02 15:34:43 svieujot
40  * Add iframe attributes
41  *
42  * Revision 1.17 2004/12/02 15:22:06 svieujot
43  * Add IFRAME_ELEM
44  *
45  * Revision 1.16 2004/12/02 05:03:14 svieujot
46  * Add H1-6 elements
47  *
48  * Revision 1.15 2004/12/02 02:34:41 svieujot
49  * Add a BUTTON_ELEM
50  *
51  * Revision 1.14 2004/11/08 03:43:20 bdudney
52  * Added a div element. x:div to use, inserts a div with class or style attributes
53  *
54  * Revision 1.13 2004/10/13 11:51:01 matze
55  * renamed packages to org.apache
56  *
57  * Revision 1.12 2004/08/09 08:43:29 manolito
58  * bug #1004867 - h:message has duplicate attributes
59  *
60  * Revision 1.11 2004/07/27 06:32:19 tinytoony
61  * new calendar component as a popup
62  *
63  * Revision 1.10 2004/07/26 09:19:08 manolito
64  * removed onclick from passthrough attributes for ButtonRenderer
65  *
66  * Revision 1.9 2004/07/01 22:00:56 mwessendorf
67  * ASF switch
68  *
69  * Revision 1.8 2004/06/04 00:26:16 o_rossmueller
70  * modified renderes to comply with JSF 1.1
71  *
72  * Revision 1.7 2004/05/29 10:19:55 mwessendorf
73  * made the class FINAL, because has only one private const
74  *
75  * Revision 1.6 2004/05/18 14:31:39 manolito
76  * user role support completely moved to components source tree
77  *
78  * Revision 1.5 2004/05/18 11:58:16 manolito
79  * typing error fixed
80  *
81  */

82 public final class HTML
83 {
84
85     private HTML()
86     {
87         // disable instantiation
88
}
89
90     // Common attributes
91
public static final String JavaDoc ALIGN_ATTR = "align";
92     public static final String JavaDoc DATAFLD_ATTR = "datafld";
93     public static final String JavaDoc DATASRC_ATTR = "datasrc";
94     public static final String JavaDoc DATAFORMATAS_ATTR = "dataformatas";
95     public static final String JavaDoc BORDER_ATTR = "border";
96     public static final String JavaDoc WIDTH_ATTR = "width";
97     public static final String JavaDoc READONLY_ATTR = "readonly";
98     public static final String JavaDoc ACCEPT_ATTR = "accept";
99     
100     // Common event handler attributes
101
public static final String JavaDoc ONCLICK_ATTR = "onclick";
102     public static final String JavaDoc ONDBLCLICK_ATTR = "ondblclick";
103     public static final String JavaDoc ONMOUSEDOWN_ATTR = "onmousedown";
104     public static final String JavaDoc ONMOUSEUP_ATTR = "onmouseup";
105     public static final String JavaDoc ONMOUSEOVER_ATTR = "onmouseover";
106     public static final String JavaDoc ONMOUSEMOVE_ATTR = "onmousemove";
107     public static final String JavaDoc ONMOUSEOUT_ATTR = "onmouseout";
108     public static final String JavaDoc ONKEYPRESS_ATTR = "onkeypress";
109     public static final String JavaDoc ONKEYDOWN_ATTR = "onkeydown";
110     public static final String JavaDoc ONKEYUP_ATTR = "onkeyup";
111     public static final String JavaDoc[] EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK =
112     {
113         ONDBLCLICK_ATTR,
114         ONMOUSEDOWN_ATTR,
115         ONMOUSEUP_ATTR,
116         ONMOUSEOVER_ATTR,
117         ONMOUSEMOVE_ATTR,
118         ONMOUSEOUT_ATTR,
119         ONKEYPRESS_ATTR,
120         ONKEYDOWN_ATTR,
121         ONKEYUP_ATTR
122     };
123     public static final String JavaDoc[] EVENT_HANDLER_ATTRIBUTES =
124             (String JavaDoc[]) ArrayUtils.concat(
125                 EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK,
126                 new String JavaDoc[] {ONCLICK_ATTR});
127
128     // Input field event handler attributes
129
public static final String JavaDoc ONFOCUS_ATTR = "onfocus";
130     public static final String JavaDoc ONBLUR_ATTR = "onblur";
131     public static final String JavaDoc ONSELECT_ATTR = "onselect";
132     public static final String JavaDoc ONCHANGE_ATTR = "onchange";
133     public static final String JavaDoc[] COMMON_FIELD_EVENT_ATTRIBUTES =
134     {
135         ONFOCUS_ATTR,
136         ONBLUR_ATTR,
137         ONSELECT_ATTR,
138         ONCHANGE_ATTR
139     };
140
141     // universal attributes
142
public static final String JavaDoc DIR_ATTR = "dir";
143     public static final String JavaDoc LANG_ATTR = "lang";
144     public static final String JavaDoc STYLE_ATTR = "style";
145     public static final String JavaDoc TITLE_ATTR = "title";
146     public static final String JavaDoc STYLE_CLASS_ATTR = "styleClass"; //"class" cannot be used as property name
147
public static final String JavaDoc[] UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE =
148     {
149         DIR_ATTR,
150         LANG_ATTR,
151         TITLE_ATTR,
152
153         //NOTE: if changed, please verify universal attributes in HtmlMessageRenderer !
154
};
155     public static final String JavaDoc[] UNIVERSAL_ATTRIBUTES =
156             (String JavaDoc[]) ArrayUtils.concat(
157                 UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE,
158                 new String JavaDoc[] {STYLE_ATTR, STYLE_CLASS_ATTR});
159
160     //universal, but not the same property-name -
161
//styleClass attribute is rendered as such
162
public static final String JavaDoc CLASS_ATTR = "class";
163
164     // common form field attributes
165
public static final String JavaDoc ACCESSKEY_ATTR = "accesskey";
166     public static final String JavaDoc TABINDEX_ATTR = "tabindex";
167     public static final String JavaDoc DISABLED_ATTR = "disabled";
168     public static final String JavaDoc[] COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED =
169     {
170         ACCESSKEY_ATTR,
171         TABINDEX_ATTR
172     };
173     public static final String JavaDoc[] COMMON_FIELD_ATTRIBUTES =
174         (String JavaDoc[]) ArrayUtils.concat(
175             COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED,
176             new String JavaDoc[] {DISABLED_ATTR});
177
178     // Common Attributes
179
public static final String JavaDoc[] COMMON_PASSTROUGH_ATTRIBUTES =
180         (String JavaDoc[]) ArrayUtils.concat(
181             EVENT_HANDLER_ATTRIBUTES,
182             UNIVERSAL_ATTRIBUTES);
183     public static final String JavaDoc[] COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE =
184         (String JavaDoc[]) ArrayUtils.concat(
185             EVENT_HANDLER_ATTRIBUTES,
186             UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE);
187     public static final String JavaDoc[] COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK =
188         (String JavaDoc[]) ArrayUtils.concat(
189             EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK,
190             UNIVERSAL_ATTRIBUTES);
191     public static final String JavaDoc[] COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED =
192         (String JavaDoc[]) ArrayUtils.concat(
193             COMMON_PASSTROUGH_ATTRIBUTES,
194             COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED,
195             COMMON_FIELD_EVENT_ATTRIBUTES);
196     public static final String JavaDoc[] COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK =
197         (String JavaDoc[]) ArrayUtils.concat(
198             COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK,
199             COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED,
200             COMMON_FIELD_EVENT_ATTRIBUTES);
201
202     // <a>
203
public static final String JavaDoc TARGET_ATTR = "target"; //used by <a> and <form>
204
public static final String JavaDoc CHARSET_ATTR = "charset";
205     public static final String JavaDoc COORDS_ATTR = "coords";
206     public static final String JavaDoc HREF_ATTR = "href";
207     public static final String JavaDoc HREFLANG_ATTR = "hreflang";
208     public static final String JavaDoc REL_ATTR = "rel";
209     public static final String JavaDoc REV_ATTR = "rev";
210     public static final String JavaDoc SHAPE_ATTR = "shape";
211     public static final String JavaDoc TYPE_ATTR = "type";
212     public static final String JavaDoc[] ANCHOR_ATTRIBUTES =
213     {
214         ACCESSKEY_ATTR,
215         CHARSET_ATTR,
216         COORDS_ATTR,
217         HREFLANG_ATTR,
218         REL_ATTR,
219         REV_ATTR,
220         SHAPE_ATTR,
221         TABINDEX_ATTR,
222         TARGET_ATTR,
223         TYPE_ATTR
224     };
225     public static final String JavaDoc[] ANCHOR_PASSTHROUGH_ATTRIBUTES =
226         (String JavaDoc[]) ArrayUtils.concat(
227             ANCHOR_ATTRIBUTES,
228             COMMON_PASSTROUGH_ATTRIBUTES);
229     public static final String JavaDoc[] ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE =
230         (String JavaDoc[]) ArrayUtils.concat(
231             ANCHOR_ATTRIBUTES,
232             COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE);
233
234     // <form>
235
public static final String JavaDoc ACCEPT_CHARSET_ATTR = "accept-charset";
236     public static final String JavaDoc ENCTYPE_ATTR = "enctype";
237     public static final String JavaDoc ONRESET_ATTR = "onreset";
238     public static final String JavaDoc ONSUMBIT_ATTR = "onsubmit";
239     public static final String JavaDoc[] FORM_ATTRIBUTES =
240     {
241         ACCEPT_ATTR,
242         ACCEPT_CHARSET_ATTR,
243         ENCTYPE_ATTR,
244         ONRESET_ATTR,
245         ONSUMBIT_ATTR,
246         TARGET_ATTR,
247     };
248     public static final String JavaDoc[] FORM_PASSTHROUGH_ATTRIBUTES =
249         (String JavaDoc[]) ArrayUtils.concat(
250             FORM_ATTRIBUTES,
251             COMMON_PASSTROUGH_ATTRIBUTES);
252
253     // <img>
254
public static final String JavaDoc SRC_ATTR = "src";
255     public static final String JavaDoc ALT_ATTR = "alt";
256     public static final String JavaDoc HEIGHT_ATTR = "height";
257     public static final String JavaDoc HSPACE_ATTR = "hspace";
258     public static final String JavaDoc ISMAP_ATTR = "ismap";
259     public static final String JavaDoc LONGDESC_ATTR = "longdesc";
260     public static final String JavaDoc USEMAP_ATTR = "usemap";
261     public static final String JavaDoc VSPACE_ATTR = "vspace";
262
263     public static final String JavaDoc[] IMG_ATTRIBUTES =
264     {
265         ALIGN_ATTR,
266         ALT_ATTR,
267         BORDER_ATTR,
268         HEIGHT_ATTR,
269         HSPACE_ATTR,
270         ISMAP_ATTR,
271         LONGDESC_ATTR,
272         USEMAP_ATTR,
273         VSPACE_ATTR,
274         WIDTH_ATTR
275     };
276     public static final String JavaDoc[] IMG_PASSTHROUGH_ATTRIBUTES =
277         (String JavaDoc[]) ArrayUtils.concat(
278            IMG_ATTRIBUTES,
279            COMMON_PASSTROUGH_ATTRIBUTES);
280
281     // <input>
282
public static final String JavaDoc SIZE_ATTR = "size";
283     public static final String JavaDoc CHECKED_ATTR = "checked";
284     public static final String JavaDoc MAXLENGTH_ATTR = "maxlength";
285
286     public static final String JavaDoc[] INPUT_ATTRIBUTES = {
287         ALIGN_ATTR,
288         ALT_ATTR,
289         CHECKED_ATTR,
290         DATAFLD_ATTR,
291         DATASRC_ATTR,
292         DATAFORMATAS_ATTR,
293         MAXLENGTH_ATTR,
294         READONLY_ATTR,
295         SIZE_ATTR,
296     };
297     public static final String JavaDoc[] INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED =
298         (String JavaDoc[]) ArrayUtils.concat(
299                 INPUT_ATTRIBUTES,
300                 COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED);
301
302     //values for input-type attribute
303
public static final String JavaDoc INPUT_TYPE_SUBMIT = "submit";
304     public static final String JavaDoc INPUT_TYPE_IMAGE = "image";
305     public static final String JavaDoc INPUT_TYPE_HIDDEN = "hidden";
306     public static final String JavaDoc INPUT_TYPE_CHECKBOX = "checkbox";
307     public static final String JavaDoc INPUT_TYPE_PASSWORD = "password";
308     public static final String JavaDoc INPUT_TYPE_TEXT = "text";
309     public static final String JavaDoc INPUT_TYPE_RADIO = "radio";
310
311     // <button>
312
public static final String JavaDoc[] BUTTON_ATTRIBUTES =
313     {
314         ALIGN_ATTR,
315         ALT_ATTR,
316         DATAFLD_ATTR,
317         DATASRC_ATTR,
318         DATAFORMATAS_ATTR,
319     };
320     public static final String JavaDoc[] BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED =
321         (String JavaDoc[]) ArrayUtils.concat(
322             BUTTON_ATTRIBUTES,
323             COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED);
324     public static final String JavaDoc[] BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK =
325         (String JavaDoc[]) ArrayUtils.concat(
326             BUTTON_ATTRIBUTES,
327             COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK);
328     
329     // <iframe>
330
public static final String JavaDoc FRAMEBORDER_ATTR = "frameborder";
331     public static final String JavaDoc SCROLLING_ATTR = "scrolling";
332     
333     // <label>
334
public static final String JavaDoc FOR_ATTR = "for";
335     public static final String JavaDoc[] LABEL_ATTRIBUTES =
336     {
337         ACCESSKEY_ATTR,
338         ONBLUR_ATTR,
339         ONFOCUS_ATTR
340         //FOR_ATTR is no pass through !
341
};
342     public static final String JavaDoc[] LABEL_PASSTHROUGH_ATTRIBUTES =
343         (String JavaDoc[]) ArrayUtils.concat(
344             LABEL_ATTRIBUTES,
345             COMMON_PASSTROUGH_ATTRIBUTES);
346
347     // <select>
348
public static final String JavaDoc MULTIPLE_ATTR = "multiple";
349
350     public static final String JavaDoc[] SELECT_ATTRIBUTES =
351     {
352         DATAFLD_ATTR,
353         DATASRC_ATTR,
354         DATAFORMATAS_ATTR,
355     };
356     public static final String JavaDoc[] SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED =
357         (String JavaDoc[]) ArrayUtils.concat(
358             SELECT_ATTRIBUTES,
359             COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED);
360
361     // <table>
362
public static final String JavaDoc BGCOLOR_ATTR = "bgcolor";
363     public static final String JavaDoc CELLPADDING_ATTR = "cellpadding";
364     public static final String JavaDoc CELLSPACING_ATTR = "cellspacing";
365     public static final String JavaDoc FRAME_ATTR = "frame";
366     public static final String JavaDoc RULES_ATTR = "rules";
367     public static final String JavaDoc SUMMARY_ATTR = "summary";
368     public static final String JavaDoc[] TABLE_ATTRIBUTES = {
369         ALIGN_ATTR,
370         BGCOLOR_ATTR,
371         BORDER_ATTR,
372         CELLPADDING_ATTR,
373         CELLSPACING_ATTR,
374         DATAFLD_ATTR,
375         DATASRC_ATTR,
376         DATAFORMATAS_ATTR,
377         FRAME_ATTR,
378         RULES_ATTR,
379         SUMMARY_ATTR,
380         WIDTH_ATTR
381     };
382     public static final String JavaDoc[] TABLE_PASSTHROUGH_ATTRIBUTES =
383         (String JavaDoc[]) ArrayUtils.concat(
384             TABLE_ATTRIBUTES,
385             COMMON_PASSTROUGH_ATTRIBUTES);
386
387     // <textarea>
388
public static final String JavaDoc COLS_ATTR = "cols";
389     public static final String JavaDoc ROWS_ATTR = "rows";
390     public static final String JavaDoc[] TEXTAREA_ATTRIBUTES =
391     {
392         COLS_ATTR,
393         DATAFLD_ATTR,
394         DATASRC_ATTR,
395         DATAFORMATAS_ATTR,
396         READONLY_ATTR,
397         ROWS_ATTR,
398     };
399     public static final String JavaDoc[] TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED =
400         (String JavaDoc[]) ArrayUtils.concat(
401             TEXTAREA_ATTRIBUTES,
402             COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED);
403
404     // <input type=file>
405
public static final String JavaDoc[] INPUT_FILE_UPLOAD_ATTRIBUTES =
406     {
407         ACCEPT_ATTR
408     };
409     public static final String JavaDoc[] INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED =
410         (String JavaDoc[]) ArrayUtils.concat(
411             INPUT_FILE_UPLOAD_ATTRIBUTES,
412             INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED);
413
414
415     /*
416     public static final String[] MESSAGE_PASSTHROUGH_ATTRIBUTES =
417         (String[]) ArrayUtils.concat(
418             new String[] {DIR_ATTR, LANG_ATTR, TITLE_ATTR, STYLE_ATTR, STYLE_CLASS_ATTR},
419             EVENT_HANDLER_ATTRIBUTES);
420             */

421
422     public static final String JavaDoc[] MESSAGE_PASSTHROUGH_ATTRIBUTES_WITHOUT_TITLE_STYLE_AND_STYLE_CLASS =
423         (String JavaDoc[]) ArrayUtils.concat(
424             new String JavaDoc[] {DIR_ATTR, LANG_ATTR},
425             EVENT_HANDLER_ATTRIBUTES);
426
427
428     // selectOne/Many table
429
public static final String JavaDoc[] SELECT_TABLE_PASSTHROUGH_ATTRIBUTES =
430         new String JavaDoc[] {STYLE_ATTR, STYLE_CLASS_ATTR, BORDER_ATTR};
431
432     //HTML attributes needed for renderding only
433
public static final String JavaDoc ID_ATTR = "id";
434     public static final String JavaDoc NAME_ATTR = "name";
435     public static final String JavaDoc VALUE_ATTR = "value";
436     public static final String JavaDoc METHOD_ATTR = "method";
437     public static final String JavaDoc ACTION_ATTR = "action";
438     public static final String JavaDoc COLSPAN_ATTR = "colspan";
439     public static final String JavaDoc SCOPE_ATTR = "scope";
440     public static final String JavaDoc LABEL_ATTR = "label";
441     public static final String JavaDoc SELECTED_ATTR = "selected";
442
443     //HTML attributes values
444
public static final String JavaDoc SCOPE_COLGROUP_VALUE = "colgroup";
445
446     //HTML element constants
447
public static final String JavaDoc SPAN_ELEM = "span";
448     public static final String JavaDoc DIV_ELEM = "div";
449     public static final String JavaDoc INPUT_ELEM = "input";
450     public static final String JavaDoc BUTTON_ELEM = "button";
451     public static final String JavaDoc SELECT_ELEM = "select";
452     public static final String JavaDoc OPTION_ELEM = "option";
453     public static final String JavaDoc OPTGROUP_ELEM = "optgroup";
454     public static final String JavaDoc TEXTAREA_ELEM = "textarea";
455     public static final String JavaDoc FORM_ELEM = "form";
456     public static final String JavaDoc ANCHOR_ELEM = "a";
457     public static final String JavaDoc H1_ELEM = "h1";
458     public static final String JavaDoc H2_ELEM = "h2";
459     public static final String JavaDoc H3_ELEM = "h3";
460     public static final String JavaDoc H4_ELEM = "h4";
461     public static final String JavaDoc H5_ELEM = "h5";
462     public static final String JavaDoc H6_ELEM = "h6";
463     public static final String JavaDoc IFRAME_ELEM = "iframe";
464     public static final String JavaDoc IMG_ELEM = "img";
465     public static final String JavaDoc LABEL_ELEM = "label";
466     public static final String JavaDoc TABLE_ELEM = "table";
467     public static final String JavaDoc TR_ELEM = "tr";
468     public static final String JavaDoc TH_ELEM = "th";
469     public static final String JavaDoc TD_ELEM = "td";
470     public static final String JavaDoc TBODY_ELEM = "tbody";
471     public static final String JavaDoc TFOOT_ELEM = "tfoot";
472     public static final String JavaDoc THEAD_ELEM = "thead";
473     public static final String JavaDoc STYLE_ELEM = "style";
474     public static final String JavaDoc SCRIPT_ELEM = "script";
475     public static final String JavaDoc SCRIPT_TYPE_ATTR = "type";
476     public static final String JavaDoc SCRIPT_TYPE_TEXT_JAVASCRIPT = "text/javascript";
477     public static final String JavaDoc SCRIPT_LANGUAGE_ATTR = "language";
478     public static final String JavaDoc SCRIPT_LANGUAGE_JAVASCRIPT = "JavaScript";
479
480     public static final String JavaDoc UL_ELEM = "ul";
481     public static final String JavaDoc OL_ELEM = "ol";
482     public static final String JavaDoc LI_ELEM = "li";
483
484
485     //HTML simple element constants
486
public static final String JavaDoc BR_ELEM = "br";
487
488
489     //HTML entities
490
public static final String JavaDoc NBSP_ENTITY = "&#160;";
491
492     public static final String JavaDoc HREF_PATH_SEPARATOR = "/";
493     public static final String JavaDoc HREF_PATH_FROM_PARAM_SEPARATOR = "?";
494     public static final String JavaDoc HREF_PARAM_SEPARATOR = "&";
495     public static final String JavaDoc HREF_PARAM_NAME_FROM_VALUE_SEPARATOR = "=";
496
497 }
498
Popular Tags