Coverage Report - org.apache.myfaces.taglib.html.HtmlOutputTextTag
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlOutputTextTag
0%
0/61
0%
0/24
1.929
 
 1  
 // WARNING: This file was automatically generated. Do not edit it directly,
 2  
 //          or you will lose your changes.
 3  
 /*
 4  
  *  Licensed to the Apache Software Foundation (ASF) under one
 5  
  *  or more contributor license agreements.  See the NOTICE file
 6  
  *  distributed with this work for additional information
 7  
  *  regarding copyright ownership.  The ASF licenses this file
 8  
  *  to you under the Apache License, Version 2.0 (the
 9  
  *  "License"); you may not use this file except in compliance
 10  
  *  with the License.  You may obtain a copy of the License at
 11  
  * 
 12  
  *  http://www.apache.org/licenses/LICENSE-2.0
 13  
  * 
 14  
  *  Unless required by applicable law or agreed to in writing,
 15  
  *  software distributed under the License is distributed on an
 16  
  *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  *  KIND, either express or implied.  See the License for the
 18  
  *  specific language governing permissions and limitations
 19  
  *  under the License.
 20  
  */
 21  
 package org.apache.myfaces.taglib.html;
 22  
 
 23  
 import javax.faces.component.UIComponent;
 24  
 import javax.el.ValueExpression;
 25  
 import javax.el.MethodExpression;
 26  
 import javax.faces.component.UIComponent;
 27  
 import javax.faces.convert.Converter;
 28  
 
 29  
 
 30  
 // Generated from class javax.faces.component.html._HtmlOutputText.
 31  
 //
 32  
 // WARNING: This file was automatically generated. Do not edit it directly,
 33  
 //          or you will lose your changes.
 34  
 public class HtmlOutputTextTag
 35  
     extends javax.faces.webapp.UIComponentELTag
 36  
 {
 37  
     public HtmlOutputTextTag()
 38  0
     {    
 39  0
     }
 40  
     
 41  
     @Override
 42  
     public String getComponentType()
 43  
     {
 44  0
         return "javax.faces.HtmlOutputText";
 45  
     }
 46  
 
 47  
     public String getRendererType()
 48  
     {
 49  0
         return "javax.faces.Text";
 50  
     }
 51  
 
 52  
     private ValueExpression _style;
 53  
     
 54  
     public void setStyle(ValueExpression style)
 55  
     {
 56  0
         _style = style;
 57  0
     }
 58  
     private ValueExpression _styleClass;
 59  
     
 60  
     public void setStyleClass(ValueExpression styleClass)
 61  
     {
 62  0
         _styleClass = styleClass;
 63  0
     }
 64  
     private ValueExpression _escape;
 65  
     
 66  
     public void setEscape(ValueExpression escape)
 67  
     {
 68  0
         _escape = escape;
 69  0
     }
 70  
     private ValueExpression _role;
 71  
     
 72  
     public void setRole(ValueExpression role)
 73  
     {
 74  0
         _role = role;
 75  0
     }
 76  
     private ValueExpression _dir;
 77  
     
 78  
     public void setDir(ValueExpression dir)
 79  
     {
 80  0
         _dir = dir;
 81  0
     }
 82  
     private ValueExpression _lang;
 83  
     
 84  
     public void setLang(ValueExpression lang)
 85  
     {
 86  0
         _lang = lang;
 87  0
     }
 88  
     private ValueExpression _title;
 89  
     
 90  
     public void setTitle(ValueExpression title)
 91  
     {
 92  0
         _title = title;
 93  0
     }
 94  
     private ValueExpression _value;
 95  
     
 96  
     public void setValue(ValueExpression value)
 97  
     {
 98  0
         _value = value;
 99  0
     }
 100  
     private ValueExpression _converter;
 101  
     
 102  
     public void setConverter(ValueExpression converter)
 103  
     {
 104  0
         _converter = converter;
 105  0
     }
 106  
 
 107  
     @Override
 108  
     protected void setProperties(UIComponent component)
 109  
     {
 110  0
         if (!(component instanceof javax.faces.component.html.HtmlOutputText ))
 111  
         {
 112  0
             throw new IllegalArgumentException("Component "+
 113  
                 component.getClass().getName() +" is no javax.faces.component.html.HtmlOutputText");
 114  
         }
 115  
         
 116  0
         javax.faces.component.html.HtmlOutputText comp = (javax.faces.component.html.HtmlOutputText) component;
 117  
         
 118  0
         super.setProperties(component);
 119  
         
 120  
 
 121  0
         if (_style != null)
 122  
         {
 123  0
             comp.setValueExpression("style", _style);
 124  
         } 
 125  0
         if (_styleClass != null)
 126  
         {
 127  0
             comp.setValueExpression("styleClass", _styleClass);
 128  
         } 
 129  0
         if (_escape != null)
 130  
         {
 131  0
             comp.setValueExpression("escape", _escape);
 132  
         } 
 133  0
         if (_role != null)
 134  
         {
 135  0
             comp.setValueExpression("role", _role);
 136  
         } 
 137  0
         if (_dir != null)
 138  
         {
 139  0
             comp.setValueExpression("dir", _dir);
 140  
         } 
 141  0
         if (_lang != null)
 142  
         {
 143  0
             comp.setValueExpression("lang", _lang);
 144  
         } 
 145  0
         if (_title != null)
 146  
         {
 147  0
             comp.setValueExpression("title", _title);
 148  
         } 
 149  0
         if (_value != null)
 150  
         {
 151  0
             comp.setValueExpression("value", _value);
 152  
         } 
 153  0
         if (_converter != null)
 154  
         {
 155  0
             if (!_converter.isLiteralText())
 156  
             {
 157  0
                 comp.setValueExpression("converter", _converter);
 158  
             }
 159  
             else
 160  
             {
 161  0
                 String s = _converter.getExpressionString();
 162  0
                 if (s != null)
 163  
                 {            
 164  0
                     Converter converter = getFacesContext().getApplication().createConverter(s);
 165  0
                     comp.setConverter(converter);
 166  
                 }
 167  
             }
 168  
         }
 169  0
     }
 170  
 
 171  
     @Override
 172  
     public void release()
 173  
     {
 174  0
         super.release();
 175  0
         _style = null;
 176  0
         _styleClass = null;
 177  0
         _escape = null;
 178  0
         _role = null;
 179  0
         _dir = null;
 180  0
         _lang = null;
 181  0
         _title = null;
 182  0
         _value = null;
 183  0
         _converter = null;
 184  0
     }
 185  
 }