Coverage Report - org.apache.myfaces.taglib.html.HtmlColumnTag
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlColumnTag
0%
0/31
0%
0/10
1.667
 
 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  
 
 28  
 
 29  
 // Generated from class javax.faces.component.html._HtmlColumn.
 30  
 //
 31  
 // WARNING: This file was automatically generated. Do not edit it directly,
 32  
 //          or you will lose your changes.
 33  
 public class HtmlColumnTag
 34  
     extends javax.faces.webapp.UIComponentELTag
 35  
 {
 36  
     public HtmlColumnTag()
 37  0
     {    
 38  0
     }
 39  
     
 40  
     @Override
 41  
     public String getComponentType()
 42  
     {
 43  0
         return "javax.faces.Column";
 44  
     }
 45  
 
 46  
     public String getRendererType()
 47  
     {
 48  0
         return null;
 49  
     }
 50  
 
 51  
     private ValueExpression _headerClass;
 52  
     
 53  
     public void setHeaderClass(ValueExpression headerClass)
 54  
     {
 55  0
         _headerClass = headerClass;
 56  0
     }
 57  
     private ValueExpression _footerClass;
 58  
     
 59  
     public void setFooterClass(ValueExpression footerClass)
 60  
     {
 61  0
         _footerClass = footerClass;
 62  0
     }
 63  
     private ValueExpression _rowHeader;
 64  
     
 65  
     public void setRowHeader(ValueExpression rowHeader)
 66  
     {
 67  0
         _rowHeader = rowHeader;
 68  0
     }
 69  
     private ValueExpression _rendered;
 70  
     
 71  
     public void setRendered(ValueExpression rendered)
 72  
     {
 73  0
         _rendered = rendered;
 74  0
     }
 75  
 
 76  
     @Override
 77  
     protected void setProperties(UIComponent component)
 78  
     {
 79  0
         if (!(component instanceof javax.faces.component.UIColumn ))
 80  
         {
 81  0
             throw new IllegalArgumentException("Component "+
 82  
                 component.getClass().getName() +" is no javax.faces.component.html.HtmlColumn");
 83  
         }
 84  
         
 85  0
         javax.faces.component.UIColumn comp = (javax.faces.component.UIColumn) component;
 86  
         
 87  0
         super.setProperties(component);
 88  
         
 89  
 
 90  0
         if (_headerClass != null)
 91  
         {
 92  0
             comp.setValueExpression("headerClass", _headerClass);
 93  
         } 
 94  0
         if (_footerClass != null)
 95  
         {
 96  0
             comp.setValueExpression("footerClass", _footerClass);
 97  
         } 
 98  0
         if (_rowHeader != null)
 99  
         {
 100  0
             comp.setValueExpression("rowHeader", _rowHeader);
 101  
         } 
 102  0
         if (_rendered != null)
 103  
         {
 104  0
             comp.setValueExpression("rendered", _rendered);
 105  
         } 
 106  0
     }
 107  
 
 108  
     @Override
 109  
     public void release()
 110  
     {
 111  0
         super.release();
 112  0
         _headerClass = null;
 113  0
         _footerClass = null;
 114  0
         _rowHeader = null;
 115  0
         _rendered = null;
 116  0
     }
 117  
 }