Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlInputSecretTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlInputSecretTagBase
0%
0/66
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  
  * @author Martin Marinschek
 29  
  * @version $Revision: 606793 $ $Date: 2007-12-25 10:20:46 -0500 (Tue, 25 Dec 2007) $
 30  
  * @deprecated use {@link HtmlInputSecretELTagBase} instead
 31  
  */
 32  0
 public abstract class HtmlInputSecretTagBase
 33  
         extends HtmlInputTagBase
 34  
 {
 35  
     // UIComponent attributes --> already implemented in UIComponentTagBase
 36  
 
 37  
     // user role attributes --> already implemented in UIComponentTagBase
 38  
 
 39  
     // HTML universal attributes --> already implemented in HtmlComponentTagBase
 40  
 
 41  
     // HTML event handler attributes --> already implemented in HtmlComponentTagBase
 42  
 
 43  
     // HTML input attributes relevant for password-input
 44  
     private String _accesskey;
 45  
     private String _align;
 46  
     private String _alt;
 47  
     private String _datafld;
 48  
     private String _datasrc;
 49  
     private String _dataformatas;
 50  
     private String _disabled;
 51  
     private String _maxlength;
 52  
     private String _onblur;
 53  
     private String _onchange;
 54  
     private String _onfocus;
 55  
     private String _onselect;
 56  
     private String _readonly;
 57  
     private String _size;
 58  
     private String _tabindex;
 59  
 
 60  
     // UIOutput attributes
 61  
     // value and converterId --> already implemented in UIComponentTagBase
 62  
 
 63  
     // UIInput attributes
 64  
     // --> already implemented in HtmlInputTagBase
 65  
 
 66  
     // HTMLInputSecret attributes
 67  
     private String _redisplay;
 68  
 
 69  
     public void release() {
 70  0
         super.release();
 71  0
         _accesskey=null;
 72  0
         _align=null;
 73  0
         _alt=null;
 74  0
         _datafld=null;
 75  0
         _datasrc=null;
 76  0
         _dataformatas=null;
 77  0
         _disabled=null;
 78  0
         _maxlength=null;
 79  0
         _onblur=null;
 80  0
         _onchange=null;
 81  0
         _onfocus=null;
 82  0
         _onselect=null;
 83  0
         _readonly=null;
 84  0
         _size=null;
 85  0
         _tabindex=null;
 86  0
         _redisplay=null;
 87  0
     }
 88  
 
 89  
     protected void setProperties(UIComponent component)
 90  
     {
 91  0
         super.setProperties(component);
 92  
 
 93  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ACCESSKEY_ATTR, _accesskey);
 94  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALIGN_ATTR, _align);
 95  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALT_ATTR, _alt);
 96  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled);
 97  0
         setIntegerProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.MAXLENGTH_ATTR, _maxlength);
 98  0
         setStringProperty(component, HTML.ONBLUR_ATTR, _onblur);
 99  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONCHANGE_ATTR, _onchange);
 100  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONFOCUS_ATTR, _onfocus);
 101  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONSELECT_ATTR, _onselect);
 102  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.READONLY_ATTR, _readonly);
 103  0
         setIntegerProperty(component, HTML.SIZE_ATTR, _size);
 104  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.TABINDEX_ATTR, _tabindex);
 105  
 
 106  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.REDISPLAY_ATTR, _redisplay);
 107  0
    }
 108  
 
 109  
     public void setAccesskey(String accesskey)
 110  
     {
 111  0
         _accesskey = accesskey;
 112  0
     }
 113  
 
 114  
     public void setAlign(String align)
 115  
     {
 116  0
         _align = align;
 117  0
     }
 118  
 
 119  
     public void setAlt(String alt)
 120  
     {
 121  0
         _alt = alt;
 122  0
     }
 123  
 
 124  
     public void setDatafld(String datafld)
 125  
     {
 126  0
         _datafld = datafld;
 127  0
     }
 128  
 
 129  
     public void setDatasrc(String datasrc)
 130  
     {
 131  0
         _datasrc = datasrc;
 132  0
     }
 133  
 
 134  
     public void setDataformatas(String dataformatas)
 135  
     {
 136  0
         _dataformatas = dataformatas;
 137  0
     }
 138  
 
 139  
     public void setDisabled(String disabled)
 140  
     {
 141  0
         _disabled = disabled;
 142  0
     }
 143  
 
 144  
     public void setMaxlength(String maxlength)
 145  
     {
 146  0
         _maxlength = maxlength;
 147  0
     }
 148  
 
 149  
     public void setOnblur(String onblur)
 150  
     {
 151  0
         _onblur = onblur;
 152  0
     }
 153  
 
 154  
     public void setOnchange(String onchange)
 155  
     {
 156  0
         _onchange = onchange;
 157  0
     }
 158  
 
 159  
     public void setOnfocus(String onfocus)
 160  
     {
 161  0
         _onfocus = onfocus;
 162  0
     }
 163  
 
 164  
     public void setOnselect(String onselect)
 165  
     {
 166  0
         _onselect = onselect;
 167  0
     }
 168  
 
 169  
     public void setReadonly(String readonly)
 170  
     {
 171  0
         _readonly = readonly;
 172  0
     }
 173  
 
 174  
     public void setSize(String size)
 175  
     {
 176  0
         _size = size;
 177  0
     }
 178  
 
 179  
     public void setTabindex(String tabindex)
 180  
     {
 181  0
         _tabindex = tabindex;
 182  0
     }
 183  
 
 184  
     public void setRedisplay(String redisplay)
 185  
     {
 186  0
         _redisplay = redisplay;
 187  0
     }
 188  
 }