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