Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlInputTextTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlInputTextTagBase
0%
0/53
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 org.apache.myfaces.shared_impl.taglib.html;
 20  
 
 21  
 import org.apache.myfaces.shared_impl.renderkit.html.HTML;
 22  
 
 23  
 import javax.faces.component.UIComponent;
 24  
 
 25  
 
 26  
 /**
 27  
  * @author Manfred Geiler (latest modification by $Author: cagatay $)
 28  
  * @version $Revision: 606793 $ $Date: 2007-12-25 10:20:46 -0500 (Tue, 25 Dec 2007) $
 29  
  * @deprecated use {@link HtmlInputTextELTagBase} instead
 30  
  */
 31  0
 public abstract class HtmlInputTextTagBase
 32  
         extends org.apache.myfaces.shared_impl.taglib.html.HtmlInputTagBase
 33  
 {
 34  
     // UIComponent attributes --> already implemented in UIComponentTagBase
 35  
 
 36  
     // user role attributes --> already implemented in UIComponentTagBase
 37  
 
 38  
     // HTML universal attributes --> already implemented in HtmlComponentTagBase
 39  
 
 40  
     // HTML event handler attributes --> already implemented in HtmlComponentTagBase
 41  
 
 42  
     // HTML input attributes
 43  
     private String _accesskey;
 44  
     private String _align;
 45  
     private String _alt; //FIXME: not in API, HTML 4.0 transitional attribute and not in strict... what to do?
 46  
     private String _disabled;
 47  
     private String _maxlength;
 48  
     private String _onblur;
 49  
     private String _onchange;
 50  
     private String _onfocus;
 51  
     private String _onselect;
 52  
     private String _readonly;
 53  
     private String _size;
 54  
     private String _tabindex;
 55  
 
 56  
     // UIOutput attributes
 57  
     // value and converterId --> already implemented in UIComponentTagBase
 58  
 
 59  
     // UIInput attributes
 60  
     // --> already implemented in HtmlInputTagBase
 61  
 
 62  
     public void release() {
 63  0
         super.release();
 64  0
         _accesskey=null;
 65  0
         _align=null;
 66  0
         _alt=null;
 67  0
         _disabled=null;
 68  0
         _maxlength=null;
 69  0
         _onblur=null;
 70  0
         _onchange=null;
 71  0
         _onfocus=null;
 72  0
         _onselect=null;
 73  0
         _readonly=null;
 74  0
         _size=null;
 75  0
         _tabindex=null;
 76  0
     }
 77  
 
 78  
     protected void setProperties(UIComponent component)
 79  
     {
 80  0
         super.setProperties(component);
 81  
 
 82  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ACCESSKEY_ATTR, _accesskey);
 83  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALIGN_ATTR, _align);
 84  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALT_ATTR, _alt);
 85  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled);
 86  0
         setIntegerProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.MAXLENGTH_ATTR, _maxlength);
 87  0
         setStringProperty(component, HTML.ONBLUR_ATTR, _onblur);
 88  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONCHANGE_ATTR, _onchange);
 89  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONFOCUS_ATTR, _onfocus);
 90  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONSELECT_ATTR, _onselect);
 91  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.READONLY_ATTR, _readonly);
 92  0
         setIntegerProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.SIZE_ATTR, _size);
 93  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.TABINDEX_ATTR, _tabindex);
 94  0
     }
 95  
 
 96  
     public void setAccesskey(String accesskey)
 97  
     {
 98  0
         _accesskey = accesskey;
 99  0
     }
 100  
 
 101  
     public void setAlign(String align)
 102  
     {
 103  0
         _align = align;
 104  0
     }
 105  
 
 106  
     public void setAlt(String alt)
 107  
     {
 108  0
         _alt = alt;
 109  0
     }
 110  
 
 111  
     public void setDisabled(String disabled)
 112  
     {
 113  0
         _disabled = disabled;
 114  0
     }
 115  
 
 116  
     public void setMaxlength(String maxlength)
 117  
     {
 118  0
         _maxlength = maxlength;
 119  0
     }
 120  
 
 121  
     public void setOnblur(String onblur)
 122  
     {
 123  0
         _onblur = onblur;
 124  0
     }
 125  
 
 126  
     public void setOnchange(String onchange)
 127  
     {
 128  0
         _onchange = onchange;
 129  0
     }
 130  
 
 131  
     public void setOnfocus(String onfocus)
 132  
     {
 133  0
         _onfocus = onfocus;
 134  0
     }
 135  
 
 136  
     public void setOnselect(String onselect)
 137  
     {
 138  0
         _onselect = onselect;
 139  0
     }
 140  
 
 141  
     public void setReadonly(String readonly)
 142  
     {
 143  0
         _readonly = readonly;
 144  0
     }
 145  
 
 146  
     public void setSize(String size)
 147  
     {
 148  0
         _size = size;
 149  0
     }
 150  
 
 151  
     public void setTabindex(String tabindex)
 152  
     {
 153  0
         _tabindex = tabindex;
 154  0
     }
 155  
 }