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