Coverage Report - javax.faces.component.html.HtmlBody
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlBody
0%
0/88
N/A
1
HtmlBody$PropertyKeys
0%
0/20
N/A
1
 
 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.faces.el.ValueBinding;
 22  
 import javax.el.ValueExpression;
 23  
 import javax.faces.context.FacesContext;
 24  
 import javax.faces.component.UIComponent;
 25  
 import javax.faces.convert.Converter;
 26  
 
 27  
 
 28  
 // Generated from class javax.faces.component.html._HtmlBody.
 29  
 //
 30  
 // WARNING: This file was automatically generated. Do not edit it directly,
 31  
 //          or you will lose your changes.
 32  
 public class HtmlBody extends javax.faces.component.UIOutput
 33  
     implements javax.faces.component.behavior.ClientBehaviorHolder
 34  
 {
 35  
 
 36  
     static public final String COMPONENT_FAMILY =
 37  
         "javax.faces.Output";
 38  
     static public final String COMPONENT_TYPE =
 39  
         "javax.faces.OutputBody";
 40  
 
 41  
 
 42  
     public HtmlBody()
 43  0
     {
 44  0
         setRendererType("javax.faces.Body");
 45  0
     }
 46  
 
 47  
     @Override    
 48  
     public String getFamily()
 49  
     {
 50  0
         return COMPONENT_FAMILY;
 51  
     }
 52  
 
 53  
 
 54  0
     static private final java.util.Collection<String> CLIENT_EVENTS_LIST = 
 55  
         java.util.Collections.unmodifiableCollection(
 56  
             java.util.Arrays.asList(
 57  
              "load"
 58  
             , "unload"
 59  
             , "click"
 60  
             , "dblclick"
 61  
             , "keydown"
 62  
             , "keypress"
 63  
             , "keyup"
 64  
             , "mousedown"
 65  
             , "mousemove"
 66  
             , "mouseout"
 67  
             , "mouseover"
 68  
             , "mouseup"
 69  
         ));
 70  
 
 71  
     public java.util.Collection<String> getEventNames()
 72  
     {
 73  0
         return CLIENT_EVENTS_LIST;
 74  
     }
 75  
 
 76  
     @Override
 77  
     public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
 78  
     {
 79  0
         super.addClientBehavior(eventName, behavior);
 80  0
         _CommonEventConstants.markEvent(this, eventName);
 81  0
     }
 82  
 
 83  
     
 84  
     // Property: onload
 85  
 
 86  
     public String getOnload()
 87  
     {
 88  0
         return (String) getStateHelper().eval(PropertyKeys.onload);
 89  
     }
 90  
     
 91  
     public void setOnload(String onload)
 92  
     {
 93  0
         getStateHelper().put(PropertyKeys.onload, onload ); 
 94  0
     }
 95  
     // Property: onunload
 96  
 
 97  
     public String getOnunload()
 98  
     {
 99  0
         return (String) getStateHelper().eval(PropertyKeys.onunload);
 100  
     }
 101  
     
 102  
     public void setOnunload(String onunload)
 103  
     {
 104  0
         getStateHelper().put(PropertyKeys.onunload, onunload ); 
 105  0
     }
 106  
     // Property: xmlns
 107  
 
 108  
     public String getXmlns()
 109  
     {
 110  0
         return (String) getStateHelper().eval(PropertyKeys.xmlns);
 111  
     }
 112  
     
 113  
     public void setXmlns(String xmlns)
 114  
     {
 115  0
         getStateHelper().put(PropertyKeys.xmlns, xmlns ); 
 116  0
     }
 117  
     // Property: style
 118  
 
 119  
     public String getStyle()
 120  
     {
 121  0
         return (String) getStateHelper().eval(PropertyKeys.style);
 122  
     }
 123  
     
 124  
     public void setStyle(String style)
 125  
     {
 126  0
         getStateHelper().put(PropertyKeys.style, style ); 
 127  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLE_PROP);
 128  0
     }
 129  
     // Property: styleClass
 130  
 
 131  
     public String getStyleClass()
 132  
     {
 133  0
         return (String) getStateHelper().eval(PropertyKeys.styleClass);
 134  
     }
 135  
     
 136  
     public void setStyleClass(String styleClass)
 137  
     {
 138  0
         getStateHelper().put(PropertyKeys.styleClass, styleClass ); 
 139  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLECLASS_PROP);
 140  0
     }
 141  
     // Property: role
 142  
 
 143  
     public String getRole()
 144  
     {
 145  0
         return (String) getStateHelper().eval(PropertyKeys.role);
 146  
     }
 147  
     
 148  
     public void setRole(String role)
 149  
     {
 150  0
         getStateHelper().put(PropertyKeys.role, role ); 
 151  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ROLE_PROP);
 152  0
     }
 153  
     // Property: onclick
 154  
 
 155  
     public String getOnclick()
 156  
     {
 157  0
         return (String) getStateHelper().eval(PropertyKeys.onclick);
 158  
     }
 159  
     
 160  
     public void setOnclick(String onclick)
 161  
     {
 162  0
         getStateHelper().put(PropertyKeys.onclick, onclick ); 
 163  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONCLICK_PROP);
 164  0
     }
 165  
     // Property: ondblclick
 166  
 
 167  
     public String getOndblclick()
 168  
     {
 169  0
         return (String) getStateHelper().eval(PropertyKeys.ondblclick);
 170  
     }
 171  
     
 172  
     public void setOndblclick(String ondblclick)
 173  
     {
 174  0
         getStateHelper().put(PropertyKeys.ondblclick, ondblclick ); 
 175  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONDBLCLICK_PROP);
 176  0
     }
 177  
     // Property: onkeydown
 178  
 
 179  
     public String getOnkeydown()
 180  
     {
 181  0
         return (String) getStateHelper().eval(PropertyKeys.onkeydown);
 182  
     }
 183  
     
 184  
     public void setOnkeydown(String onkeydown)
 185  
     {
 186  0
         getStateHelper().put(PropertyKeys.onkeydown, onkeydown ); 
 187  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYDOWN_PROP);
 188  0
     }
 189  
     // Property: onkeypress
 190  
 
 191  
     public String getOnkeypress()
 192  
     {
 193  0
         return (String) getStateHelper().eval(PropertyKeys.onkeypress);
 194  
     }
 195  
     
 196  
     public void setOnkeypress(String onkeypress)
 197  
     {
 198  0
         getStateHelper().put(PropertyKeys.onkeypress, onkeypress ); 
 199  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYPRESS_PROP);
 200  0
     }
 201  
     // Property: onkeyup
 202  
 
 203  
     public String getOnkeyup()
 204  
     {
 205  0
         return (String) getStateHelper().eval(PropertyKeys.onkeyup);
 206  
     }
 207  
     
 208  
     public void setOnkeyup(String onkeyup)
 209  
     {
 210  0
         getStateHelper().put(PropertyKeys.onkeyup, onkeyup ); 
 211  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONKEYUP_PROP);
 212  0
     }
 213  
     // Property: onmousedown
 214  
 
 215  
     public String getOnmousedown()
 216  
     {
 217  0
         return (String) getStateHelper().eval(PropertyKeys.onmousedown);
 218  
     }
 219  
     
 220  
     public void setOnmousedown(String onmousedown)
 221  
     {
 222  0
         getStateHelper().put(PropertyKeys.onmousedown, onmousedown ); 
 223  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEDOWN_PROP);
 224  0
     }
 225  
     // Property: onmousemove
 226  
 
 227  
     public String getOnmousemove()
 228  
     {
 229  0
         return (String) getStateHelper().eval(PropertyKeys.onmousemove);
 230  
     }
 231  
     
 232  
     public void setOnmousemove(String onmousemove)
 233  
     {
 234  0
         getStateHelper().put(PropertyKeys.onmousemove, onmousemove ); 
 235  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEMOVE_PROP);
 236  0
     }
 237  
     // Property: onmouseout
 238  
 
 239  
     public String getOnmouseout()
 240  
     {
 241  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseout);
 242  
     }
 243  
     
 244  
     public void setOnmouseout(String onmouseout)
 245  
     {
 246  0
         getStateHelper().put(PropertyKeys.onmouseout, onmouseout ); 
 247  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEOUT_PROP);
 248  0
     }
 249  
     // Property: onmouseover
 250  
 
 251  
     public String getOnmouseover()
 252  
     {
 253  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseover);
 254  
     }
 255  
     
 256  
     public void setOnmouseover(String onmouseover)
 257  
     {
 258  0
         getStateHelper().put(PropertyKeys.onmouseover, onmouseover ); 
 259  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEOVER_PROP);
 260  0
     }
 261  
     // Property: onmouseup
 262  
 
 263  
     public String getOnmouseup()
 264  
     {
 265  0
         return (String) getStateHelper().eval(PropertyKeys.onmouseup);
 266  
     }
 267  
     
 268  
     public void setOnmouseup(String onmouseup)
 269  
     {
 270  0
         getStateHelper().put(PropertyKeys.onmouseup, onmouseup ); 
 271  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ONMOUSEUP_PROP);
 272  0
     }
 273  
     // Property: dir
 274  
 
 275  
     public String getDir()
 276  
     {
 277  0
         return (String) getStateHelper().eval(PropertyKeys.dir);
 278  
     }
 279  
     
 280  
     public void setDir(String dir)
 281  
     {
 282  0
         getStateHelper().put(PropertyKeys.dir, dir ); 
 283  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.DIR_PROP);
 284  0
     }
 285  
     // Property: lang
 286  
 
 287  
     public String getLang()
 288  
     {
 289  0
         return (String) getStateHelper().eval(PropertyKeys.lang);
 290  
     }
 291  
     
 292  
     public void setLang(String lang)
 293  
     {
 294  0
         getStateHelper().put(PropertyKeys.lang, lang ); 
 295  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.LANG_PROP);
 296  0
     }
 297  
     // Property: title
 298  
 
 299  
     public String getTitle()
 300  
     {
 301  0
         return (String) getStateHelper().eval(PropertyKeys.title);
 302  
     }
 303  
     
 304  
     public void setTitle(String title)
 305  
     {
 306  0
         getStateHelper().put(PropertyKeys.title, title ); 
 307  0
         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.TITLE_PROP);
 308  0
     }
 309  
 
 310  
     public void setValueBinding(String name, ValueBinding binding)
 311  
     {
 312  0
         super.setValueBinding(name, binding);
 313  0
         _CommonPropertyConstants.markProperty(this, name);
 314  0
     }
 315  
 
 316  
     public void setValueExpression(String name, ValueExpression expression)
 317  
     {
 318  0
         super.setValueExpression(name, expression);
 319  0
         _CommonPropertyConstants.markProperty(this, name);
 320  0
     }
 321  
 
 322  0
     protected enum PropertyKeys
 323  
     {
 324  0
          onload
 325  0
         , onunload
 326  0
         , xmlns
 327  0
         , style
 328  0
         , styleClass
 329  0
         , role
 330  0
         , onclick
 331  0
         , ondblclick
 332  0
         , onkeydown
 333  0
         , onkeypress
 334  0
         , onkeyup
 335  0
         , onmousedown
 336  0
         , onmousemove
 337  0
         , onmouseout
 338  0
         , onmouseover
 339  0
         , onmouseup
 340  0
         , dir
 341  0
         , lang
 342  0
         , title
 343  
     }
 344  
 
 345  
  }