Coverage Report - org.apache.myfaces.shared_impl.taglib.html.HtmlComponentBodyELTagBase
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlComponentBodyELTagBase
0%
0/65
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.el.ValueExpression;
 24  
 import javax.faces.component.UIComponent;
 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  
  */
 30  0
 public abstract class HtmlComponentBodyELTagBase
 31  
         extends org.apache.myfaces.shared_impl.taglib.UIComponentBodyELTagBase
 32  
 {
 33  
     //private static final Log log = LogFactory.getLog(HtmlComponentTag.class);
 34  
 
 35  
     //HTML universal attributes
 36  
     private ValueExpression _dir;
 37  
     private ValueExpression _lang;
 38  
     private ValueExpression _style;
 39  
     private ValueExpression _styleClass;
 40  
     private ValueExpression _title;
 41  
 
 42  
     //HTML event handler attributes
 43  
     private ValueExpression _onclick;
 44  
     private ValueExpression _ondblclick;
 45  
     private ValueExpression _onkeydown;
 46  
     private ValueExpression _onkeypress;
 47  
     private ValueExpression _onkeyup;
 48  
     private ValueExpression _onmousedown;
 49  
     private ValueExpression _onmousemove;
 50  
     private ValueExpression _onmouseout;
 51  
     private ValueExpression _onmouseover;
 52  
     private ValueExpression _onmouseup;
 53  
 
 54  
     public void release() {
 55  0
         super.release();
 56  0
         _dir=null;
 57  0
         _lang=null;
 58  0
         _style=null;
 59  0
         _styleClass=null;
 60  0
         _title=null;
 61  0
         _onclick=null;
 62  0
         _ondblclick=null;
 63  0
         _onkeydown=null;
 64  0
         _onkeypress=null;
 65  0
         _onkeyup=null;
 66  0
         _onmousedown=null;
 67  0
         _onmousemove=null;
 68  0
         _onmouseout=null;
 69  0
         _onmouseover=null;
 70  0
         _onmouseup=null;
 71  0
     }
 72  
 
 73  
     protected void setProperties(UIComponent component)
 74  
     {
 75  0
         super.setProperties(component);
 76  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DIR_ATTR, _dir);
 77  0
         setStringProperty(component, HTML.LANG_ATTR, _lang);
 78  0
         setStringProperty(component, HTML.STYLE_ATTR, _style);
 79  0
         setStringProperty(component, HTML.TITLE_ATTR, _title);
 80  0
         setStringProperty(component, HTML.STYLE_CLASS_ATTR, _styleClass);
 81  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONCLICK_ATTR, _onclick);
 82  0
         setStringProperty(component, HTML.ONDBLCLICK_ATTR, _ondblclick);
 83  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONMOUSEDOWN_ATTR, _onmousedown);
 84  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONMOUSEUP_ATTR, _onmouseup);
 85  0
         setStringProperty(component, HTML.ONMOUSEOVER_ATTR, _onmouseover);
 86  0
         setStringProperty(component, HTML.ONMOUSEMOVE_ATTR, _onmousemove);
 87  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONMOUSEOUT_ATTR, _onmouseout);
 88  0
         setStringProperty(component, HTML.ONKEYPRESS_ATTR, _onkeypress);
 89  0
         setStringProperty(component, HTML.ONKEYDOWN_ATTR, _onkeydown);
 90  0
         setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONKEYUP_ATTR, _onkeyup);
 91  0
     }
 92  
 
 93  
     public void setStyleClass(ValueExpression styleClass)
 94  
     {
 95  0
         _styleClass = styleClass;
 96  0
     }
 97  
 
 98  
     public void setDir(ValueExpression dir)
 99  
     {
 100  0
         _dir = dir;
 101  0
     }
 102  
 
 103  
     public void setLang(ValueExpression lang)
 104  
     {
 105  0
         _lang = lang;
 106  0
     }
 107  
 
 108  
     public void setStyle(ValueExpression style)
 109  
     {
 110  0
         _style = style;
 111  0
     }
 112  
 
 113  
     public void setTitle(ValueExpression title)
 114  
     {
 115  0
         _title = title;
 116  0
     }
 117  
 
 118  
     public void setOnclick(ValueExpression onclick)
 119  
     {
 120  0
         _onclick = onclick;
 121  0
     }
 122  
 
 123  
     public void setOndblclick(ValueExpression ondblclick)
 124  
     {
 125  0
         _ondblclick = ondblclick;
 126  0
     }
 127  
 
 128  
     public void setOnmousedown(ValueExpression onmousedown)
 129  
     {
 130  0
         _onmousedown = onmousedown;
 131  0
     }
 132  
 
 133  
     public void setOnmouseup(ValueExpression onmouseup)
 134  
     {
 135  0
         _onmouseup = onmouseup;
 136  0
     }
 137  
 
 138  
     public void setOnmouseover(ValueExpression onmouseover)
 139  
     {
 140  0
         _onmouseover = onmouseover;
 141  0
     }
 142  
 
 143  
     public void setOnmousemove(ValueExpression onmousemove)
 144  
     {
 145  0
         _onmousemove = onmousemove;
 146  0
     }
 147  
 
 148  
     public void setOnmouseout(ValueExpression onmouseout)
 149  
     {
 150  0
         _onmouseout = onmouseout;
 151  0
     }
 152  
 
 153  
     public void setOnkeypress(ValueExpression onkeypress)
 154  
     {
 155  0
         _onkeypress = onkeypress;
 156  0
     }
 157  
 
 158  
     public void setOnkeydown(ValueExpression onkeydown)
 159  
     {
 160  0
         _onkeydown = onkeydown;
 161  0
     }
 162  
 
 163  
     public void setOnkeyup(ValueExpression onkeyup)
 164  
     {
 165  0
         _onkeyup = onkeyup;
 166  0
     }
 167  
 }