Coverage Report - javax.faces.component.html.HtmlForm
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlForm
0%
0/220
0%
0/84
0
 
 1  
 /*
 2  
  *  Licensed to the Apache Software Foundation (ASF) under one
 3  
  *  or more contributor license agreements.  See the NOTICE file
 4  
  *  distributed with this work for additional information
 5  
  *  regarding copyright ownership.  The ASF licenses this file
 6  
  *  to you under the Apache License, Version 2.0 (the
 7  
  *  "License"); you may not use this file except in compliance
 8  
  *  with the License.  You may obtain a copy of the License at
 9  
  * 
 10  
  *  http://www.apache.org/licenses/LICENSE-2.0
 11  
  * 
 12  
  *  Unless required by applicable law or agreed to in writing,
 13  
  *  software distributed under the License is distributed on an
 14  
  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  *  KIND, either express or implied.  See the License for the
 16  
  *  specific language governing permissions and limitations
 17  
  *  under the License.
 18  
  */
 19  
 package javax.faces.component.html;
 20  
 
 21  
 import javax.el.ValueExpression;
 22  
 import javax.faces.context.FacesContext;
 23  
 import javax.faces.component.UIComponent;
 24  
 
 25  
 
 26  
 // Generated from class javax.faces.component.html._HtmlForm.
 27  
 //
 28  
 // WARNING: This file was automatically generated. Do not edit it directly,
 29  
 //          or you will lose your changes.
 30  
 public class HtmlForm extends javax.faces.component.UIForm
 31  
 {
 32  
 
 33  
     static public final String COMPONENT_FAMILY =
 34  
         "javax.faces.Form";
 35  
     static public final String COMPONENT_TYPE =
 36  
         "javax.faces.HtmlForm";
 37  
 
 38  
 
 39  
     public HtmlForm()
 40  0
     {
 41  0
         setRendererType("javax.faces.Form");
 42  0
     }
 43  
 
 44  
     @Override    
 45  
     public String getFamily()
 46  
     {
 47  0
         return COMPONENT_FAMILY;
 48  
     }
 49  
     
 50  
 
 51  
     // Property: accept
 52  
     private String _accept;
 53  
     
 54  
     public String getAccept()
 55  
     {
 56  0
         if (_accept != null)
 57  
         {
 58  0
             return _accept;
 59  
         }
 60  0
         ValueExpression vb = getValueExpression("accept");
 61  0
         if (vb != null)
 62  
         {
 63  0
             return (String) vb.getValue(getFacesContext().getELContext());
 64  
         }
 65  0
         return null;
 66  
     }
 67  
 
 68  
     public void setAccept(String accept)
 69  
     {
 70  0
         this._accept = accept;
 71  0
     }
 72  
     // Property: acceptcharset
 73  
     private String _acceptcharset;
 74  
     
 75  
     public String getAcceptcharset()
 76  
     {
 77  0
         if (_acceptcharset != null)
 78  
         {
 79  0
             return _acceptcharset;
 80  
         }
 81  0
         ValueExpression vb = getValueExpression("acceptcharset");
 82  0
         if (vb != null)
 83  
         {
 84  0
             return (String) vb.getValue(getFacesContext().getELContext());
 85  
         }
 86  0
         return null;
 87  
     }
 88  
 
 89  
     public void setAcceptcharset(String acceptcharset)
 90  
     {
 91  0
         this._acceptcharset = acceptcharset;
 92  0
     }
 93  
     // Property: enctype
 94  
     private String _enctype;
 95  
     
 96  
     public String getEnctype()
 97  
     {
 98  0
         if (_enctype != null)
 99  
         {
 100  0
             return _enctype;
 101  
         }
 102  0
         ValueExpression vb = getValueExpression("enctype");
 103  0
         if (vb != null)
 104  
         {
 105  0
             return (String) vb.getValue(getFacesContext().getELContext());
 106  
         }
 107  0
         return "application/x-www-form-urlencoded"; 
 108  
     }
 109  
 
 110  
     public void setEnctype(String enctype)
 111  
     {
 112  0
         this._enctype = enctype;
 113  0
     }
 114  
     // Property: onreset
 115  
     private String _onreset;
 116  
     
 117  
     public String getOnreset()
 118  
     {
 119  0
         if (_onreset != null)
 120  
         {
 121  0
             return _onreset;
 122  
         }
 123  0
         ValueExpression vb = getValueExpression("onreset");
 124  0
         if (vb != null)
 125  
         {
 126  0
             return (String) vb.getValue(getFacesContext().getELContext());
 127  
         }
 128  0
         return null;
 129  
     }
 130  
 
 131  
     public void setOnreset(String onreset)
 132  
     {
 133  0
         this._onreset = onreset;
 134  0
     }
 135  
     // Property: onsubmit
 136  
     private String _onsubmit;
 137  
     
 138  
     public String getOnsubmit()
 139  
     {
 140  0
         if (_onsubmit != null)
 141  
         {
 142  0
             return _onsubmit;
 143  
         }
 144  0
         ValueExpression vb = getValueExpression("onsubmit");
 145  0
         if (vb != null)
 146  
         {
 147  0
             return (String) vb.getValue(getFacesContext().getELContext());
 148  
         }
 149  0
         return null;
 150  
     }
 151  
 
 152  
     public void setOnsubmit(String onsubmit)
 153  
     {
 154  0
         this._onsubmit = onsubmit;
 155  0
     }
 156  
     // Property: target
 157  
     private String _target;
 158  
     
 159  
     public String getTarget()
 160  
     {
 161  0
         if (_target != null)
 162  
         {
 163  0
             return _target;
 164  
         }
 165  0
         ValueExpression vb = getValueExpression("target");
 166  0
         if (vb != null)
 167  
         {
 168  0
             return (String) vb.getValue(getFacesContext().getELContext());
 169  
         }
 170  0
         return null;
 171  
     }
 172  
 
 173  
     public void setTarget(String target)
 174  
     {
 175  0
         this._target = target;
 176  0
     }
 177  
     // Property: style
 178  
     private String _style;
 179  
     
 180  
     public String getStyle()
 181  
     {
 182  0
         if (_style != null)
 183  
         {
 184  0
             return _style;
 185  
         }
 186  0
         ValueExpression vb = getValueExpression("style");
 187  0
         if (vb != null)
 188  
         {
 189  0
             return (String) vb.getValue(getFacesContext().getELContext());
 190  
         }
 191  0
         return null;
 192  
     }
 193  
 
 194  
     public void setStyle(String style)
 195  
     {
 196  0
         this._style = style;
 197  0
     }
 198  
     // Property: styleClass
 199  
     private String _styleClass;
 200  
     
 201  
     public String getStyleClass()
 202  
     {
 203  0
         if (_styleClass != null)
 204  
         {
 205  0
             return _styleClass;
 206  
         }
 207  0
         ValueExpression vb = getValueExpression("styleClass");
 208  0
         if (vb != null)
 209  
         {
 210  0
             return (String) vb.getValue(getFacesContext().getELContext());
 211  
         }
 212  0
         return null;
 213  
     }
 214  
 
 215  
     public void setStyleClass(String styleClass)
 216  
     {
 217  0
         this._styleClass = styleClass;
 218  0
     }
 219  
     // Property: onclick
 220  
     private String _onclick;
 221  
     
 222  
     public String getOnclick()
 223  
     {
 224  0
         if (_onclick != null)
 225  
         {
 226  0
             return _onclick;
 227  
         }
 228  0
         ValueExpression vb = getValueExpression("onclick");
 229  0
         if (vb != null)
 230  
         {
 231  0
             return (String) vb.getValue(getFacesContext().getELContext());
 232  
         }
 233  0
         return null;
 234  
     }
 235  
 
 236  
     public void setOnclick(String onclick)
 237  
     {
 238  0
         this._onclick = onclick;
 239  0
     }
 240  
     // Property: ondblclick
 241  
     private String _ondblclick;
 242  
     
 243  
     public String getOndblclick()
 244  
     {
 245  0
         if (_ondblclick != null)
 246  
         {
 247  0
             return _ondblclick;
 248  
         }
 249  0
         ValueExpression vb = getValueExpression("ondblclick");
 250  0
         if (vb != null)
 251  
         {
 252  0
             return (String) vb.getValue(getFacesContext().getELContext());
 253  
         }
 254  0
         return null;
 255  
     }
 256  
 
 257  
     public void setOndblclick(String ondblclick)
 258  
     {
 259  0
         this._ondblclick = ondblclick;
 260  0
     }
 261  
     // Property: onkeydown
 262  
     private String _onkeydown;
 263  
     
 264  
     public String getOnkeydown()
 265  
     {
 266  0
         if (_onkeydown != null)
 267  
         {
 268  0
             return _onkeydown;
 269  
         }
 270  0
         ValueExpression vb = getValueExpression("onkeydown");
 271  0
         if (vb != null)
 272  
         {
 273  0
             return (String) vb.getValue(getFacesContext().getELContext());
 274  
         }
 275  0
         return null;
 276  
     }
 277  
 
 278  
     public void setOnkeydown(String onkeydown)
 279  
     {
 280  0
         this._onkeydown = onkeydown;
 281  0
     }
 282  
     // Property: onkeypress
 283  
     private String _onkeypress;
 284  
     
 285  
     public String getOnkeypress()
 286  
     {
 287  0
         if (_onkeypress != null)
 288  
         {
 289  0
             return _onkeypress;
 290  
         }
 291  0
         ValueExpression vb = getValueExpression("onkeypress");
 292  0
         if (vb != null)
 293  
         {
 294  0
             return (String) vb.getValue(getFacesContext().getELContext());
 295  
         }
 296  0
         return null;
 297  
     }
 298  
 
 299  
     public void setOnkeypress(String onkeypress)
 300  
     {
 301  0
         this._onkeypress = onkeypress;
 302  0
     }
 303  
     // Property: onkeyup
 304  
     private String _onkeyup;
 305  
     
 306  
     public String getOnkeyup()
 307  
     {
 308  0
         if (_onkeyup != null)
 309  
         {
 310  0
             return _onkeyup;
 311  
         }
 312  0
         ValueExpression vb = getValueExpression("onkeyup");
 313  0
         if (vb != null)
 314  
         {
 315  0
             return (String) vb.getValue(getFacesContext().getELContext());
 316  
         }
 317  0
         return null;
 318  
     }
 319  
 
 320  
     public void setOnkeyup(String onkeyup)
 321  
     {
 322  0
         this._onkeyup = onkeyup;
 323  0
     }
 324  
     // Property: onmousedown
 325  
     private String _onmousedown;
 326  
     
 327  
     public String getOnmousedown()
 328  
     {
 329  0
         if (_onmousedown != null)
 330  
         {
 331  0
             return _onmousedown;
 332  
         }
 333  0
         ValueExpression vb = getValueExpression("onmousedown");
 334  0
         if (vb != null)
 335  
         {
 336  0
             return (String) vb.getValue(getFacesContext().getELContext());
 337  
         }
 338  0
         return null;
 339  
     }
 340  
 
 341  
     public void setOnmousedown(String onmousedown)
 342  
     {
 343  0
         this._onmousedown = onmousedown;
 344  0
     }
 345  
     // Property: onmousemove
 346  
     private String _onmousemove;
 347  
     
 348  
     public String getOnmousemove()
 349  
     {
 350  0
         if (_onmousemove != null)
 351  
         {
 352  0
             return _onmousemove;
 353  
         }
 354  0
         ValueExpression vb = getValueExpression("onmousemove");
 355  0
         if (vb != null)
 356  
         {
 357  0
             return (String) vb.getValue(getFacesContext().getELContext());
 358  
         }
 359  0
         return null;
 360  
     }
 361  
 
 362  
     public void setOnmousemove(String onmousemove)
 363  
     {
 364  0
         this._onmousemove = onmousemove;
 365  0
     }
 366  
     // Property: onmouseout
 367  
     private String _onmouseout;
 368  
     
 369  
     public String getOnmouseout()
 370  
     {
 371  0
         if (_onmouseout != null)
 372  
         {
 373  0
             return _onmouseout;
 374  
         }
 375  0
         ValueExpression vb = getValueExpression("onmouseout");
 376  0
         if (vb != null)
 377  
         {
 378  0
             return (String) vb.getValue(getFacesContext().getELContext());
 379  
         }
 380  0
         return null;
 381  
     }
 382  
 
 383  
     public void setOnmouseout(String onmouseout)
 384  
     {
 385  0
         this._onmouseout = onmouseout;
 386  0
     }
 387  
     // Property: onmouseover
 388  
     private String _onmouseover;
 389  
     
 390  
     public String getOnmouseover()
 391  
     {
 392  0
         if (_onmouseover != null)
 393  
         {
 394  0
             return _onmouseover;
 395  
         }
 396  0
         ValueExpression vb = getValueExpression("onmouseover");
 397  0
         if (vb != null)
 398  
         {
 399  0
             return (String) vb.getValue(getFacesContext().getELContext());
 400  
         }
 401  0
         return null;
 402  
     }
 403  
 
 404  
     public void setOnmouseover(String onmouseover)
 405  
     {
 406  0
         this._onmouseover = onmouseover;
 407  0
     }
 408  
     // Property: onmouseup
 409  
     private String _onmouseup;
 410  
     
 411  
     public String getOnmouseup()
 412  
     {
 413  0
         if (_onmouseup != null)
 414  
         {
 415  0
             return _onmouseup;
 416  
         }
 417  0
         ValueExpression vb = getValueExpression("onmouseup");
 418  0
         if (vb != null)
 419  
         {
 420  0
             return (String) vb.getValue(getFacesContext().getELContext());
 421  
         }
 422  0
         return null;
 423  
     }
 424  
 
 425  
     public void setOnmouseup(String onmouseup)
 426  
     {
 427  0
         this._onmouseup = onmouseup;
 428  0
     }
 429  
     // Property: dir
 430  
     private String _dir;
 431  
     
 432  
     public String getDir()
 433  
     {
 434  0
         if (_dir != null)
 435  
         {
 436  0
             return _dir;
 437  
         }
 438  0
         ValueExpression vb = getValueExpression("dir");
 439  0
         if (vb != null)
 440  
         {
 441  0
             return (String) vb.getValue(getFacesContext().getELContext());
 442  
         }
 443  0
         return null;
 444  
     }
 445  
 
 446  
     public void setDir(String dir)
 447  
     {
 448  0
         this._dir = dir;
 449  0
     }
 450  
     // Property: lang
 451  
     private String _lang;
 452  
     
 453  
     public String getLang()
 454  
     {
 455  0
         if (_lang != null)
 456  
         {
 457  0
             return _lang;
 458  
         }
 459  0
         ValueExpression vb = getValueExpression("lang");
 460  0
         if (vb != null)
 461  
         {
 462  0
             return (String) vb.getValue(getFacesContext().getELContext());
 463  
         }
 464  0
         return null;
 465  
     }
 466  
 
 467  
     public void setLang(String lang)
 468  
     {
 469  0
         this._lang = lang;
 470  0
     }
 471  
     // Property: title
 472  
     private String _title;
 473  
     
 474  
     public String getTitle()
 475  
     {
 476  0
         if (_title != null)
 477  
         {
 478  0
             return _title;
 479  
         }
 480  0
         ValueExpression vb = getValueExpression("title");
 481  0
         if (vb != null)
 482  
         {
 483  0
             return (String) vb.getValue(getFacesContext().getELContext());
 484  
         }
 485  0
         return null;
 486  
     }
 487  
 
 488  
     public void setTitle(String title)
 489  
     {
 490  0
         this._title = title;
 491  0
     }
 492  
 
 493  
     @Override
 494  
     public Object saveState(FacesContext facesContext)
 495  
     {
 496  0
         Object[] values = new Object[22];
 497  0
         values[0] = super.saveState(facesContext);
 498  0
         values[1] = _accept;
 499  0
         values[2] = _acceptcharset;
 500  0
         values[3] = _enctype;
 501  0
         values[4] = _onreset;
 502  0
         values[5] = _onsubmit;
 503  0
         values[6] = _target;
 504  0
         values[7] = _style;
 505  0
         values[8] = _styleClass;
 506  0
         values[9] = _onclick;
 507  0
         values[10] = _ondblclick;
 508  0
         values[11] = _onkeydown;
 509  0
         values[12] = _onkeypress;
 510  0
         values[13] = _onkeyup;
 511  0
         values[14] = _onmousedown;
 512  0
         values[15] = _onmousemove;
 513  0
         values[16] = _onmouseout;
 514  0
         values[17] = _onmouseover;
 515  0
         values[18] = _onmouseup;
 516  0
         values[19] = _dir;
 517  0
         values[20] = _lang;
 518  0
         values[21] = _title;
 519  0
         return values; 
 520  
     }
 521  
 
 522  
     @Override
 523  
     public void restoreState(FacesContext facesContext, Object state)
 524  
     {
 525  0
         Object[] values = (Object[])state;
 526  0
         super.restoreState(facesContext,values[0]);
 527  0
         _accept = (java.lang.String) values[1];
 528  0
         _acceptcharset = (java.lang.String) values[2];
 529  0
         _enctype = (java.lang.String) values[3];
 530  0
         _onreset = (java.lang.String) values[4];
 531  0
         _onsubmit = (java.lang.String) values[5];
 532  0
         _target = (java.lang.String) values[6];
 533  0
         _style = (java.lang.String) values[7];
 534  0
         _styleClass = (java.lang.String) values[8];
 535  0
         _onclick = (java.lang.String) values[9];
 536  0
         _ondblclick = (java.lang.String) values[10];
 537  0
         _onkeydown = (java.lang.String) values[11];
 538  0
         _onkeypress = (java.lang.String) values[12];
 539  0
         _onkeyup = (java.lang.String) values[13];
 540  0
         _onmousedown = (java.lang.String) values[14];
 541  0
         _onmousemove = (java.lang.String) values[15];
 542  0
         _onmouseout = (java.lang.String) values[16];
 543  0
         _onmouseover = (java.lang.String) values[17];
 544  0
         _onmouseup = (java.lang.String) values[18];
 545  0
         _dir = (java.lang.String) values[19];
 546  0
         _lang = (java.lang.String) values[20];
 547  0
         _title = (java.lang.String) values[21];
 548  0
     }
 549  
 }