Coverage Report - org.apache.myfaces.taglib.html.HtmlColumnTag
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlColumnTag
0%
0/21
0%
0/6
0
 
 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  
 
 64  
     @Override
 65  
     protected void setProperties(UIComponent component)
 66  
     {
 67  0
         if (!(component instanceof javax.faces.component.UIColumn ))
 68  
         {
 69  0
             throw new IllegalArgumentException("Component "+
 70  
                 component.getClass().getName() +" is no javax.faces.component.html.HtmlColumn");
 71  
         }
 72  
         
 73  0
         javax.faces.component.UIColumn comp = (javax.faces.component.UIColumn) component;
 74  
         
 75  0
         super.setProperties(component);
 76  
         
 77  
 
 78  0
         if (_headerClass != null)
 79  
         {
 80  0
             comp.setValueExpression("headerClass", _headerClass);
 81  
         } 
 82  0
         if (_footerClass != null)
 83  
         {
 84  0
             comp.setValueExpression("footerClass", _footerClass);
 85  
         } 
 86  0
     }
 87  
 
 88  
     @Override
 89  
     public void release()
 90  
     {
 91  0
         super.release();
 92  0
         _headerClass = null;
 93  0
         _footerClass = null;
 94  0
     }
 95  
 }