Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlInputTextareaELTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlInputTextareaELTagBase
0%
0/58
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 javax.el.ValueExpression;
 22  
 import javax.faces.component.UIComponent;
 23  
 
 24  
 
 25  
 /**
 26  
  * @author Manfred Geiler (latest modification by $Author: cagatay $)
 27  
  * @version $Revision: 607471 $ $Date: 2007-12-29 15:21:21 -0500 (Sat, 29 Dec 2007) $
 28  
  */
 29  0
 public abstract class HtmlInputTextareaELTagBase
 30  
         extends org.apache.myfaces.shared_impl.taglib.html.HtmlInputELTagBase
 31  
 {
 32  
     // UIComponent attributes --> already implemented in UIComponentTagBase
 33  
 
 34  
     // user role attributes --> already implemented in UIComponentTagBase
 35  
 
 36  
     // HTML universal attributes --> already implemented in HtmlComponentTagBase
 37  
 
 38  
     // HTML event handler attributes --> already implemented in HtmlComponentTagBase
 39  
 
 40  
     // HTML input attributes
 41  
     private ValueExpression _accesskey;
 42  
     private ValueExpression _cols;
 43  
     private ValueExpression _datafld; //FIXME: not in RI so far
 44  
     private ValueExpression _datasrc; //FIXME: not in RI so far
 45  
     private ValueExpression _dataformatas; //FIXME: not in RI so far
 46  
     private ValueExpression _disabled;
 47  
     private ValueExpression _onblur;
 48  
     private ValueExpression _onchange;
 49  
     private ValueExpression _onfocus;
 50  
     private ValueExpression _onselect;
 51  
     private ValueExpression _readonly;
 52  
     private ValueExpression _rows;
 53  
     private ValueExpression _tabindex;
 54  
 
 55  
     // UIOutput attributes
 56  
     // value and converter --> already implemented in UIComponentTagBase
 57  
 
 58  
     // UIInput attributes
 59  
     // --> already implemented in HtmlInputTagBase
 60  
 
 61  
     //HtmlTextArea attributes
 62  
     // FIXME: is in RI, but not in HTML 4.0. what to do?
 63  
     private ValueExpression _alt;
 64  
 
 65  
     public void release() {
 66  0
         super.release();
 67  0
         _accesskey=null;
 68  0
         _cols=null;
 69  0
         _datafld=null;
 70  0
         _datasrc=null;
 71  0
         _dataformatas=null;
 72  0
         _disabled=null;
 73  0
         _onblur=null;
 74  0
         _onchange=null;
 75  0
         _onfocus=null;
 76  0
         _onselect=null;
 77  0
         _readonly=null;
 78  0
         _rows=null;
 79  0
         _tabindex=null;
 80  0
         _alt=null;
 81  0
     }
 82  
 
 83  
     protected void setProperties(UIComponent component)
 84  
     {
 85  0
         super.setProperties(component);
 86  
 
 87  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ACCESSKEY_ATTR, _accesskey);
 88  0
         setIntegerProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.COLS_ATTR, _cols);
 89  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled);
 90  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONBLUR_ATTR, _onblur);
 91  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONCHANGE_ATTR, _onchange);
 92  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONFOCUS_ATTR, _onfocus);
 93  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONSELECT_ATTR, _onselect);
 94  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.READONLY_ATTR, _readonly);
 95  0
         setIntegerProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ROWS_ATTR, _rows);
 96  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.TABINDEX_ATTR, _tabindex);
 97  
 
 98  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ALT_ATTR, _alt);
 99  0
     }
 100  
 
 101  
     public void setAccesskey(ValueExpression accesskey)
 102  
     {
 103  0
         _accesskey = accesskey;
 104  0
     }
 105  
 
 106  
     public void setAlt(ValueExpression alt)
 107  
     {
 108  0
         _alt = alt;
 109  0
     }
 110  
 
 111  
     public void setCols(ValueExpression cols)
 112  
     {
 113  0
         _cols = cols;
 114  0
     }
 115  
 
 116  
     public void setDatafld(ValueExpression datafld)
 117  
     {
 118  0
         _datafld = datafld;
 119  0
     }
 120  
 
 121  
     public void setDatasrc(ValueExpression datasrc)
 122  
     {
 123  0
         _datasrc = datasrc;
 124  0
     }
 125  
 
 126  
     public void setDataformatas(ValueExpression dataformatas)
 127  
     {
 128  0
         _dataformatas = dataformatas;
 129  0
     }
 130  
 
 131  
     public void setDisabled(ValueExpression disabled)
 132  
     {
 133  0
         _disabled = disabled;
 134  0
     }
 135  
 
 136  
     public void setOnblur(ValueExpression onblur)
 137  
     {
 138  0
         _onblur = onblur;
 139  0
     }
 140  
 
 141  
     public void setOnchange(ValueExpression onchange)
 142  
     {
 143  0
         _onchange = onchange;
 144  0
     }
 145  
 
 146  
     public void setOnfocus(ValueExpression onfocus)
 147  
     {
 148  0
         _onfocus = onfocus;
 149  0
     }
 150  
 
 151  
     public void setOnselect(ValueExpression onselect)
 152  
     {
 153  0
         _onselect = onselect;
 154  0
     }
 155  
 
 156  
     public void setReadonly(ValueExpression readonly)
 157  
     {
 158  0
         _readonly = readonly;
 159  0
     }
 160  
 
 161  
     public void setRows(ValueExpression rows)
 162  
     {
 163  0
         _rows = rows;
 164  0
     }
 165  
 
 166  
     public void setTabindex(ValueExpression tabindex)
 167  
     {
 168  0
         _tabindex = tabindex;
 169  0
     }
 170  
 
 171  
 }