Coverage Report - org.seasar.teeda.core.JsfConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
JsfConstants
N/A
N/A
0
JsfConstants$1
100%
1/1
N/A
0
 
 1  
 /*
 2  
  * Copyright 2004-2011 the Seasar Foundation and the Others.
 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,
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.teeda.core;
 17  
 
 18  
 import org.seasar.teeda.core.render.html.HtmlRenderKitImpl;
 19  
 
 20  
 /**
 21  
  * @author shot
 22  
  * @author manhole
 23  
  * @author yone
 24  
  * @author higa
 25  
  */
 26  
 public interface JsfConstants {
 27  
 
 28  
     String JSF_HTML_URI = "http://java.sun.com/jsf/html";
 29  
 
 30  
     String JSF_CORE_URI = "http://java.sun.com/jsf/core";
 31  
 
 32  
     String LINE_SP = "\n";//System.getProperty("line.separator");
 33  
 
 34  
     String MESSAGES = "Messages";
 35  
 
 36  
     String DEFAULT_XML_NS = "http://java.sun.com/JSF/Configuration";
 37  
 
 38  
     String CORE_PACKAGE_ROOT = "org.seasar.teeda.core";
 39  
 
 40  
     String RESOURCE_PACKAGE_ROOT = CORE_PACKAGE_ROOT + "." + "resource";
 41  
 
 42  
     String APPLICATION_SCOPE = "applicationScope";
 43  
 
 44  
     String COOKIE = "cookie";
 45  
 
 46  
     String FACES_CONTEXT = "facesContext";
 47  
 
 48  
     String HEADER = "header";
 49  
 
 50  
     String HEADER_VALUES = "headerValues";
 51  
 
 52  
     String INIT_PARAM = "initParam";
 53  
 
 54  
     String PARAM = "param";
 55  
 
 56  
     String PARAM_VALUES = "paramValues";
 57  
 
 58  
     String REQUEST_SCOPE = "requestScope";
 59  
 
 60  
     String SESSION_SCOPE = "sessionScope";
 61  
 
 62  
     String VIEW = "view";
 63  
 
 64  
     String[] JSF_IMPLICIT_OBJECTS = { APPLICATION_SCOPE, COOKIE, FACES_CONTEXT,
 65  
             HEADER, HEADER_VALUES, INIT_PARAM, PARAM, PARAM_VALUES,
 66  
             REQUEST_SCOPE, SESSION_SCOPE, VIEW };
 67  
 
 68  
     String SCOPE_NONE = "none";
 69  
 
 70  
     String SCOPE_APPLICATION = "application";
 71  
 
 72  
     String SCOPE_SESSION = "session";
 73  
 
 74  
     String SCOPE_REQUEST = "request";
 75  
 
 76  
     String SCOPE_DISPATCH = "teeda_dispatch_scope";
 77  
 
 78  
     // -- value --
 79  
 
 80  
     String BUTTON_VALUE = "button";
 81  
 
 82  
     String CHECKBOX_VALUE = "checkbox";
 83  
 
 84  
     String COLGROUP_VALUE = "colgroup";
 85  
 
 86  
     String COL_VALUE = "col";
 87  
 
 88  
     String FILE_VALUE = "file";
 89  
 
 90  
     String HIDDEN_VALUE = "hidden";
 91  
 
 92  
     String IMAGE_VALUE = "image";
 93  
 
 94  
     String JAVASCRIPT_VALUE = "JavaScript";
 95  
 
 96  
     String MULTIPLE_VALUE = "multiple";
 97  
 
 98  
     String PASSWORD_VALUE = "password";
 99  
 
 100  
     String POST_VALUE = "post";
 101  
 
 102  
     String GET_VALUE = "get";
 103  
 
 104  
     String RADIO_VALUE = "radio";
 105  
 
 106  
     String RESET_VALUE = "reset";
 107  
 
 108  
     String SUBMIT_VALUE = "submit";
 109  
 
 110  
     String TABLE_VALUE = "table";
 111  
 
 112  
     String TEXT_JAVASCRIPT_VALUE = "text/javascript";
 113  
 
 114  
     String TEXT_VALUE = "text";
 115  
 
 116  
     String TEXT_CSS_VALUE = "text/css";
 117  
 
 118  
     String STYLESHEET_VALUE = "stylesheet";
 119  
 
 120  
     String PAGE_DIRECTION_VALUE = "pageDirection";
 121  
 
 122  
     String LINE_DIRECTION_VALUE = "lineDirection";
 123  
 
 124  
     String NONE_VALUE = "none";
 125  
 
 126  
     // -- element --
 127  
 
 128  
     String ANCHOR_ELEM = "a";
 129  
 
 130  
     String AREA_ELEM = "area";
 131  
 
 132  
     String BASE_ELEM = "base";
 133  
 
 134  
     String BASEFONT_ELEM = "basefont";
 135  
 
 136  
     String BR_ELEM = "br";
 137  
 
 138  
     String CAPTION_ELEM = "caption";
 139  
 
 140  
     String COL_ELEM = "col";
 141  
 
 142  
     String COLGROUP_ELEM = "colgroup";
 143  
 
 144  
     String DIV_ELEM = "div";
 145  
 
 146  
     String FORM_ELEM = "form";
 147  
 
 148  
     String FRAME_ELEM = "frame";
 149  
 
 150  
     String HR_ELEM = "hr";
 151  
 
 152  
     String IMG_ELEM = "img";
 153  
 
 154  
     String INPUT_ELEM = "input";
 155  
 
 156  
     String ISINDEX_ELEM = "isindex";
 157  
 
 158  
     String LABEL_ELEM = "label";
 159  
 
 160  
     String LI_ELEM = "li";
 161  
 
 162  
     String LINK_ELEM = "link";
 163  
 
 164  
     String META_ELEM = "meta";
 165  
 
 166  
     String NOBR_ELEM = "nobr";
 167  
 
 168  
     String OPTGROUP_ELEM = "optgroup";
 169  
 
 170  
     String OPTION_ELEM = "option";
 171  
 
 172  
     String PARAM_ELEM = "param";
 173  
 
 174  
     String SCRIPT_ELEM = "script";
 175  
 
 176  
     String SELECT_ELEM = "select";
 177  
 
 178  
     String SPAN_ELEM = "span";
 179  
 
 180  
     String TABLE_ELEM = "table";
 181  
 
 182  
     String TEXTAREA_ELEM = "textarea";
 183  
 
 184  
     String TBODY_ELEM = "tbody";
 185  
 
 186  
     String TD_ELEM = "td";
 187  
 
 188  
     String TFOOT_ELEM = "tfoot";
 189  
 
 190  
     String TH_ELEM = "th";
 191  
 
 192  
     String THEAD_ELEM = "thead";
 193  
 
 194  
     String TR_ELEM = "tr";
 195  
 
 196  
     String OL_ELEM = "ol";
 197  
 
 198  
     String UL_ELEM = "ul";
 199  
 
 200  
     String DL_ELEM = "dl";
 201  
 
 202  
     String HEAD_ELEM = "head";
 203  
 
 204  
     String TITLE_ELEM = "title";
 205  
 
 206  
     String STYLE_ELEM = "style";
 207  
 
 208  
     // -- attribute --
 209  
 
 210  
     String ACCEPT_ATTR = "accept";
 211  
 
 212  
     String ACCEPTCHARSET_ATTR = "acceptcharset";
 213  
 
 214  
     String ACCEPT_CHARSET_ATTR = "accept-charset";
 215  
 
 216  
     String ACCESSKEY_ATTR = "accesskey";
 217  
 
 218  
     String ALIGN_ATTR = "align";
 219  
 
 220  
     String ALT_ATTR = "alt";
 221  
 
 222  
     String BGCOLOR_ATTR = "bgcolor";
 223  
 
 224  
     String BORDER_ATTR = "border";
 225  
 
 226  
     String CELLPADDING_ATTR = "cellpadding";
 227  
 
 228  
     String CELLSPACING_ATTR = "cellspacing";
 229  
 
 230  
     String CHARSET_ATTR = "charset";
 231  
 
 232  
     String CHECKED_ATTR = "checked";
 233  
 
 234  
     String CLASS_ATTR = "class";
 235  
 
 236  
     String COLGROUP_ATTR = "colgroup";
 237  
 
 238  
     String COLS_ATTR = "cols";
 239  
 
 240  
     String COLSPAN_ATTR = "colspan";
 241  
 
 242  
     String COLUMN_CLASSES_ATTR = "columnClasses";
 243  
 
 244  
     String COLUMNS_ATTR = "columns";
 245  
 
 246  
     String CONVERTER_ATTR = "converter";
 247  
 
 248  
     String COORDS_ATTR = "coords";
 249  
 
 250  
     String DATAFLD_ATTR = "datafld";
 251  
 
 252  
     String DATASRC_ATTR = "datasrc";
 253  
 
 254  
     String DATAFORMATAS_ATTR = "dataformatas";
 255  
 
 256  
     String DATE_STYLE_ATTR = "dateStyle";
 257  
 
 258  
     String DIR_ATTR = "dir";
 259  
 
 260  
     String DISABLED_ATTR = "disabled";
 261  
 
 262  
     String DISABLED_CLASS_ATTR = "disabledClass";
 263  
 
 264  
     String ENABLED_CLASS_ATTR = "enabledClass";
 265  
 
 266  
     String ENCTYPE_ATTR = "enctype";
 267  
 
 268  
     String ERROR_CLASS_ATTR = "errorClass";
 269  
 
 270  
     String ERROR_STYLE_ATTR = "errorStyle";
 271  
 
 272  
     String ESCAPE_ATTR = "escape";
 273  
 
 274  
     String FATAL_CLASS_ATTR = "fatalClass";
 275  
 
 276  
     String FATAL_STYLE_ATTR = "fatalStyle";
 277  
 
 278  
     String FIRST_ATTR = "first";
 279  
 
 280  
     String FOOTER_CLASS_ATTR = "footerClass";
 281  
 
 282  
     String FORMAT_STYLE_ATTR = "formatStyle";
 283  
 
 284  
     String FOR_ATTR = "for";
 285  
 
 286  
     String FORMAT_PATTERN_ATTR = "formatPattern";
 287  
 
 288  
     String GLOBAL_ONLY_ATTR = "globalOnly";
 289  
 
 290  
     String FRAME_ATTR = "frame";
 291  
 
 292  
     String HEADER_CLASS_ATTR = "headerClass";
 293  
 
 294  
     String HREF_ATTR = "href";
 295  
 
 296  
     String HREFLANG_ATTR = "hreflang";
 297  
 
 298  
     String HEIGHT_ATTR = "height";
 299  
 
 300  
     String HSPACE_ATTR = "hspace";
 301  
 
 302  
     String HTML_FOR_ATTR = "htmlFor";
 303  
 
 304  
     String ID_ATTR = "id";
 305  
 
 306  
     String IMAGE_ATTR = "image";
 307  
 
 308  
     String IMMEDIATE_ATTR = "immediate";
 309  
 
 310  
     String INFO_CLASS_ATTR = "infoClass";
 311  
 
 312  
     String INFO_STYLE_ATTR = "infoStyle";
 313  
 
 314  
     String ISMAP_ATTR = "ismap";
 315  
 
 316  
     String ITEM_DISABLED_ATTR = "itemDisabled";
 317  
 
 318  
     String ITEM_DESCRIPTION_ATTR = "itemDescription";
 319  
 
 320  
     String ITEM_VALUE_ATTR = "itemValue";
 321  
 
 322  
     String ITEM_LABEL_ATTR = "itemLabel";
 323  
 
 324  
     String LABEL_ATTR = "label";
 325  
 
 326  
     String LAYOUT_ATTR = "layout";
 327  
 
 328  
     String LANG_ATTR = "lang";
 329  
 
 330  
     String LANGUAGE_ATTR = "language";
 331  
 
 332  
     String LONGDESC_ATTR = "longdesc";
 333  
 
 334  
     String MAXLENGTH_ATTR = "maxlength";
 335  
 
 336  
     String METHOD_ATTR = "method";
 337  
 
 338  
     String MULTIPLE_ATTR = "multiple";
 339  
 
 340  
     String NAME_ATTR = "name";
 341  
 
 342  
     String ONBLUR_ATTR = "onblur";
 343  
 
 344  
     String ONCHANGE_ATTR = "onchange";
 345  
 
 346  
     String ONCLICK_ATTR = "onclick";
 347  
 
 348  
     String ONDBLCLICK_ATTR = "ondblclick";
 349  
 
 350  
     String ONFOCUS_ATTR = "onfocus";
 351  
 
 352  
     String ONLOAD_ATTR = "onload";
 353  
 
 354  
     String ONMOUSEDOWN_ATTR = "onmousedown";
 355  
 
 356  
     String ONMOUSEUP_ATTR = "onmouseup";
 357  
 
 358  
     String ONMOUSEOVER_ATTR = "onmouseover";
 359  
 
 360  
     String ONMOUSEMOVE_ATTR = "onmousemove";
 361  
 
 362  
     String ONMOUSEOUT_ATTR = "onmouseout";
 363  
 
 364  
     String ONKEYPRESS_ATTR = "onkeypress";
 365  
 
 366  
     String ONKEYDOWN_ATTR = "onkeydown";
 367  
 
 368  
     String ONKEYUP_ATTR = "onkeyup";
 369  
 
 370  
     String ONRESET_ATTR = "onreset";
 371  
 
 372  
     String ONSCROLL_ATTR = "onscroll";
 373  
 
 374  
     String ONSELECT_ATTR = "onselect";
 375  
 
 376  
     String ONSUBMIT_ATTR = "onsubmit";
 377  
 
 378  
     String ONUNLOAD_ATTR = "onunload";
 379  
 
 380  
     String READONLY_ATTR = "readonly";
 381  
 
 382  
     String REDISPLAY_ATTR = "redisplay";
 383  
 
 384  
     String REL_ATTR = "rel";
 385  
 
 386  
     String RENDERER_TYPE_ATTR = "rendererType";
 387  
 
 388  
     String REQUIRED_ATTR = "required";
 389  
 
 390  
     String REV_ATTR = "rev";
 391  
 
 392  
     String ROW_CLASSES_ATTR = "rowClasses";
 393  
 
 394  
     String ROWS_ATTR = "rows";
 395  
 
 396  
     String ROWSPAN_ATTR = "rowspan";
 397  
 
 398  
     String RULES_ATTR = "rules";
 399  
 
 400  
     String SCOPE_ATTR = "scope";
 401  
 
 402  
     String SELECTED_ATTR = "selected";
 403  
 
 404  
     String SHAPE_ATTR = "shape";
 405  
 
 406  
     String SHOW_SUMMARY_ATTR = "showSummary";
 407  
 
 408  
     String SHOW_DETAIL_ATTR = "showDetail";
 409  
 
 410  
     String SIZE_ATTR = "size";
 411  
 
 412  
     String SRC_ATTR = "src";
 413  
 
 414  
     String STYLE_ATTR = "style";
 415  
 
 416  
     String STYLE_CLASS_ATTR = "styleClass";
 417  
 
 418  
     String SUMMARY_ATTR = "summary";
 419  
 
 420  
     String TABINDEX_ATTR = "tabindex";
 421  
 
 422  
     String TARGET_ATTR = "target";
 423  
 
 424  
     String TITLE_ATTR = "title";
 425  
 
 426  
     String TIME_STYLE_ATTR = "timeStyle";
 427  
 
 428  
     String TIMEZONE_ATTR = "timezone";
 429  
 
 430  
     String TOOLTIP_ATTR = "tooltip";
 431  
 
 432  
     String TYPE_ATTR = "type";
 433  
 
 434  
     String URL_ATTR = "url";
 435  
 
 436  
     String USEMAP_ATTR = "usemap";
 437  
 
 438  
     String VALUE_ATTR = "value";
 439  
 
 440  
     String VAR_ATTR = "var";
 441  
 
 442  
     String VSPACE_ATTR = "vspace";
 443  
 
 444  
     String WARN_CLASS_ATTR = "warnClass";
 445  
 
 446  
     String WARN_STYLE_ATTR = "warnStyle";
 447  
 
 448  
     String WIDTH_ATTR = "width";
 449  
 
 450  
     String WRAP_ATTR = "wrap";
 451  
 
 452  
     String ACTION_ATTR = "action";
 453  
 
 454  
     String FRACTION_ATTR = "fraction";
 455  
 
 456  
     String AUTOCOMPLETE_ATTR = "autocomplete";
 457  
 
 458  
     //  --  --
 459  
 
 460  1
     String DEFAULT_RENDERKIT_CLASS = HtmlRenderKitImpl.class.getName();
 461  
 
 462  
     String WEB_XML_PATH = "/WEB-INF/web.xml";
 463  
 
 464  
     String WEB_INF_LIB = "/WEB-INF/lib/";
 465  
 
 466  
     String JAR_POSTFIX = ".jar";
 467  
 
 468  
     String FACES_CONFIG_RESOURCES = "META-INF/faces-config.xml";
 469  
 
 470  
     String HTML_CONTENT_TYPE = "text/html";
 471  
 
 472  
     String ANY_CONTENT_TYPE = "*/*";
 473  
 
 474  
     String XHTML_CONTENT_TYPE = "application/xhtml+xml";
 475  
 
 476  
     String APPLICATION_XML_CONTENT_TYPE = "application/xml";
 477  
 
 478  
     String TEXT_XML_CONTENT_TYPE = "text/xml";
 479  
 
 480  
     String COMPRESS_STATE_ATTR = "javax.faces.COMPRESS_STATE";
 481  
 
 482  
     String STATE_MARKER = CORE_PACKAGE_ROOT + ".STATE_MARKER";
 483  
 
 484  
     String JSP_EXCEPTION = "javax.servlet.jsp.jspException";
 485  
 
 486  
     //String SERVLET_ERROR_EXCEPTION = "javax.servlet.error.exception";
 487  
 
 488  
     //String SERVLET_ERROR_EXCEPTION_TYPE = "javax.servlet.error.exception_type";
 489  
 
 490  
     //String SERVLET_ERROR_EXCEPTION_MESSAGE = "javax.servlet.error.message";
 491  
 
 492  
     String ERROR_EXCEPTION = "teeda.jsf.error.exception";
 493  
 
 494  
     String ERROR_EXCEPTION_TYPE = "teeda.jsf.error.exception_type";
 495  
 
 496  
     String ERROR_MESSAGE = "teeda.jsf.error.message";
 497  
 
 498  
     String DEFAULT_CONVERTDATETIME_DATE_STYLE = "default";
 499  
 
 500  
     String DEFAULT_CONVERTDATETIME_TIME_STYLE = "default";
 501  
 
 502  
     String DEFAULT_CONVERTDATETIME_TYPE = "default";
 503  
 
 504  
     String DEFAULT_CONVERTNUMBER_GROUPING_USED = "true";
 505  
 
 506  
     String DEFAULT_CONVERTNUMBER_INTEGER_ONLY = "false";
 507  
 
 508  
     String DEFAULT_CONVERTNUMBER_TYPE = "number";
 509  
 
 510  
     String TEEDA_NAMESPACE = "teeda";
 511  
 
 512  
     String NS_SEP = ".";
 513  
 
 514  
     String JAVASCRIPT_NOT_PERMITTED_PATH = "teeda.JAVASCRIPT_NOT_PERMITTED_PATH";
 515  
 
 516  
     String REDIRECT_URL = "teeda.REDIRECT_URL";
 517  
 
 518  
     String SUBMITTED_COMMAND = "teeda.SUBMITTED_COMMAND";
 519  
 
 520  
     String COMPONENT_FAMILY = "COMPONENT_FAMILY";
 521  
 
 522  
     String RENDERER_TYPE = "RENDERER_TYPE";
 523  
 
 524  
     String DEFAULT_ENCODING = "UTF-8";
 525  
 
 526  
     String TRUE = "true";
 527  
 
 528  
     String FALSE = "false";
 529  
 
 530  
     String POSTBACK = "postback";
 531  
 
 532  
     String PREVIOUS_VIEW_ID = "previousViewId";
 533  
 
 534  
     String ERROR_MANAGER_EXCEPTION_KEY = "Teeda.ErrorManager.Exception";
 535  
 
 536  
     String BR_TAG = "<br />";
 537  
 
 538  
 }