Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlInputTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlInputTagBase
0%
0/25
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.JSFAttr;
 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 HtmlInputELTagBase} instead
 30  
  */
 31  0
 public abstract class HtmlInputTagBase
 32  
     extends org.apache.myfaces.shared_impl.taglib.html.HtmlComponentTagBase
 33  
 {
 34  
     // UIComponent attributes --> already implemented in UIComponentTagBase
 35  
 
 36  
     // UIOutput attributes
 37  
     // value and converterId --> already implemented in UIComponentTagBase
 38  
 
 39  
     // UIInput attributes
 40  
     private String _immediate;
 41  
     private String _required;
 42  
     private String _validator;
 43  
     private String _valueChangeListener;
 44  
     private String _readonly;
 45  
 
 46  
     public void release() {
 47  0
         super.release();
 48  
 
 49  0
         _immediate=null;
 50  0
         _required=null;
 51  0
         _validator=null;
 52  0
         _valueChangeListener=null;
 53  0
         _readonly=null;
 54  0
     }
 55  
 
 56  
     protected void setProperties(UIComponent component)
 57  
     {
 58  0
         super.setProperties(component);
 59  
 
 60  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.IMMEDIATE_ATTR, _immediate);
 61  0
         setBooleanProperty(component, JSFAttr.REQUIRED_ATTR, _required);
 62  0
         setValidatorProperty(component, _validator);
 63  0
         setValueChangedListenerProperty(component, _valueChangeListener);
 64  0
         setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.READONLY_ATTR, _readonly);
 65  0
     }
 66  
 
 67  
     public void setImmediate(String immediate)
 68  
     {
 69  0
         _immediate = immediate;
 70  0
     }
 71  
 
 72  
     public void setRequired(String required)
 73  
     {
 74  0
         _required = required;
 75  0
     }
 76  
 
 77  
     public void setValidator(String validator)
 78  
     {
 79  0
         _validator = validator;
 80  0
     }
 81  
 
 82  
     public void setValueChangeListener(String valueChangeListener)
 83  
     {
 84  0
         _valueChangeListener = valueChangeListener;
 85  0
     }
 86  
     public void setReadonly(String _readonly) {
 87  0
         this._readonly = _readonly;
 88  0
     }
 89  
 
 90  
 }