Author: abelevich
Date: 2010-06-24 10:10:07 -0400 (Thu, 24 Jun 2010)
New Revision: 17667
Modified:
root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
Log:
add attributes, refactor
Modified: root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java
===================================================================
---
root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2010-06-24
12:06:26 UTC (rev 17666)
+++
root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/RendererUtils.java 2010-06-24
14:10:07 UTC (rev 17667)
@@ -1143,54 +1143,88 @@
*
*/
public interface HTML {
- public static final String ACCEPT_ATTRIBUTE = "accept";
- public static final String ACCEPT_CHARSET_ATTRIBUTE =
"accept-charset";
- public static final String ACCESSKEY_ATTRIBUTE = "accesskey";
- public static final String ACTION_ATTRIBUTE = "action";
- public static final String ALIGN_ATTRIBUTE = "align";
- public static final String ALT_ATTRIBUTE = "alt";
- public static final String AUTOCOMPLETE_ATTRIBUTE = "autocomplete";
+ // elements
public static final String A_ELEMENT = "a";
- public static final String BGCOLOR_ATTRIBUTE = "bgcolor";
public static final String BODY_ELEMENT = "body";
- public static final String BORDER_ATTRIBUTE = "border";
-
- // elements
+ public static final String IMG_ELEMENT = "img";
+ public static final String INPUT_ELEM = "input";
+ public static final String INPUT_TYPE_HIDDEN = "hidden";
public static final String BUTTON = "button";
public static final String CAPTION_ELEMENT = "caption";
- public static final String CELLPADDING_ATTRIBUTE = "cellpadding";
- public static final String CELLSPACING_ATTRIBUTE = "cellspacing";
public static final String CHARSET_ATTR = "charset";
- public static final String CLASS_ATTRIBUTE = "class";
- public static final String COLS_ATTRIBUTE = "cols";
public static final String COORDS_ATTR = "coords";
- public static final String DIR_ATTRIBUTE = "dir";
+ public static final String COLGROUP_ELEMENT = "colgroup";
+ public static final String COL_ELEMENT = "col";
public static final String DISABLED_ATTR = "disabled";
public static final String DIV_ELEM = "div";
public static final String DL_ELEMENT = "dl";
public static final String DT_ELEMENT = "dt";
- public static final String ENCTYPE_ATTRIBUTE = "enctype";
public static final String FORM_ELEMENT = "form";
- public static final String FRAME_ATTRIBUTE = "frame";
public static final String HEAD_ELEMENT = "head";
public static final String HEIGHT_ATTRIBUTE = "height";
public static final String HREFLANG_ATTR = "hreflang";
public static final String HREF_ATTR = "href";
public static final String HTML_ELEMENT = "html";
+ public static final String LINK_ELEMENT = "link";
+ public static final String SCRIPT_ELEM = "script";
+ public static final String SPAN_ELEM = "span";
+ public static final String TFOOT_ELEMENT = "tfoot";
+ public static final String THEAD_ELEMENT = "thead";
+ public static final String TABLE_ELEMENT = "table";
+ public static final String TBODY_ELEMENT = "tbody";
+ public static final String TD_ELEM = "td";
+ public static final String TR_ELEMENT = "tr";
+ public static final String TH_ELEM = "th";
+ public static final String TITLE_ELEM = "title";
// attributes
+ public static final String FRAME_ATTRIBUTE = "frame";
+ public static final String BORDER_ATTRIBUTE = "border";
+ public static final String BGCOLOR_ATTRIBUTE = "bgcolor";
+ public static final String ACCEPT_ATTRIBUTE = "accept";
+ public static final String ACCEPT_CHARSET_ATTRIBUTE =
"accept-charset";
+ public static final String ACCESSKEY_ATTRIBUTE = "accesskey";
+ public static final String ACTION_ATTRIBUTE = "action";
+ public static final String ALIGN_ATTRIBUTE = "align";
+ public static final String ALT_ATTRIBUTE = "alt";
+ public static final String AUTOCOMPLETE_ATTRIBUTE = "autocomplete";
+ public static final String CLASS_ATTRIBUTE = "class";
+ public static final String COLS_ATTRIBUTE = "cols";
+ public static final String COLSPAN_ATTRIBUTE = "colspan";
+ public static final String CELLPADDING_ATTRIBUTE = "cellpadding";
+ public static final String CELLSPACING_ATTRIBUTE = "cellspacing";
+ public static final String DIR_ATTRIBUTE = "dir";
+ public static final String ENCTYPE_ATTRIBUTE = "enctype";
+
public static final String ID_ATTRIBUTE = "id";
- public static final String IMG_ELEMENT = "img";
- public static final String INPUT_ELEM = "input";
- public static final Object INPUT_TYPE_HIDDEN = "hidden";
public static final String LANG_ATTRIBUTE = "lang";
- public static final String LINK_ELEMENT = "link";
public static final String LONGDESC_ATTRIBUTE = "longdesc";
public static final String MAXLENGTH_ATTRIBUTE = "maxlength";
public static final String MEDIA_ATTRIBUTE = "media";
public static final String METHOD_ATTRIBUTE = "method";
public static final String NAME_ATTRIBUTE = "name";
public static final String NOWRAP_ATTRIBUTE = "nowrap";
+ public static final String ROWS_ATTRIBUTE = "rows";
+ public static final String RULES_ATTRIBUTE = "rules";
+ public static final String ROWSPAN_ATTRIBUTE = "rowspan";
+ public static final String READONLY_ATTRIBUTE = "readonly";
+ public static final String SIZE_ATTRIBUTE = "size";
+ public static final String SRC_ATTRIBUTE = "src";
+ public static final String STYLE_ATTRIBUTE = "style";
+ public static final String SUMMARY_ATTRIBUTE = "summary";
+ public static final String SCOPE_ATTRIBUTE = "scope";
+ public static final String TABINDEX_ATTRIBUTE = "tabindex";
+ public static final String TITLE_ATTRIBUTE = "title";
+ public static final String TARGET_ATTRIBUTE = "target";
+ public static final String TYPE_ATTR = "type";
+
+ public static final String USEMAP_ATTRIBUTE = "usemap";
+
+ public static final String VALIGN_ATTRIBUTE = "valign";
+ public static final String VALUE_ATTRIBUTE = "value";
+ public static final String WIDTH_ATTRIBUTE = "width";
+
+
public static final String ONBLUR_ATTRIBUTE = "onblur";
public static final String ONCHANGE_ATTRIBUTE = "onchange";
public static final String ONCLICK_ATTRIBUTE = "onclick";
@@ -1209,7 +1243,14 @@
public static final String ONSELECT_ATTRIBUTE = "onselect";
public static final String ONSUBMIT_ATTRIBUTE = "onsubmit";
public static final String ONUNLOAD_ATTRIBUTE = "onunload";
+
+ public static final String REL_ATTR = "rel";
+ public static final String REV_ATTR = "rev";
+ public static final String SHAPE_ATTR = "shape";
+ public static final String STYLE_CLASS_ATTR = "styleClass";
+
+
// public static final String ONRESET_ATTRIBUTE = "onreset";
// attributes sets.
public static final String[] PASS_THRU = {
@@ -1244,37 +1285,9 @@
public static final String[] PASS_THRU_URI = {
"usemap", "background", "codebase",
"cite", "data", "classid", "href",
"longdesc", "profile", "src"
};
- public static final String READONLY_ATTRIBUTE = "readonly";
- public static final String REL_ATTR = "rel";
- public static final String REV_ATTR = "rev";
- public static final String ROWS_ATTRIBUTE = "rows";
- public static final String RULES_ATTRIBUTE = "rules";
- public static final String SCRIPT_ELEM = "script";
- public static final String SHAPE_ATTR = "shape";
- public static final String SIZE_ATTRIBUTE = "size";
- public static final String SPAN_ELEM = "span";
- public static final String SRC_ATTRIBUTE = "src";
- public static final String STYLE_ATTRIBUTE = "style";
- public static final String STYLE_CLASS_ATTR = "styleClass";
- public static final String SUMMARY_ATTRIBUTE = "summary";
- public static final String TABINDEX_ATTRIBUTE = "tabindex";
- public static final String TABLE_ELEMENT = "table";
- public static final String TARGET_ATTRIBUTE = "target";
- public static final String TBODY_ELEMENT = "tbody";
- public static final String TD_ELEM = "td";
+
+
public static final String TEXT_JAVASCRIPT_TYPE = "text/javascript";
- public static final String TFOOT_ELEMENT = "tfoot";
- public static final String THEAD_ELEMENT = "thead";
- public static final String TH_ELEM = "th";
- public static final String TITLE_ATTRIBUTE = "title";
- public static final String TITLE_ELEM = "title";
- public static final String TR_ELEMENT = "tr";
- public static final String TYPE_ATTR = "type";
- public static final String USEMAP_ATTRIBUTE = "usemap";
- public static final String VALIGN_ATTRIBUTE = "valign";
- public static final String VALUE_ATTRIBUTE = "value";
- public static final String WIDTH_ATTRIBUTE = "width";
-
public static final String REL_STYLESHEET = "stylesheet";
public static final String CSS_TYPE = "text/css";
public static final String JAVASCRIPT_TYPE = "text/javascript";
Show replies by date