Coverage Report - javax.faces.component.html.HtmlColumn
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlColumn
0%
0/30
0%
0/8
0
 
 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 javax.faces.component.html;
 20  
 
 21  
 import javax.el.ValueExpression;
 22  
 import javax.faces.context.FacesContext;
 23  
 import javax.faces.component.UIComponent;
 24  
 
 25  
 
 26  
 // Generated from class javax.faces.component.html._HtmlColumn.
 27  
 //
 28  
 // WARNING: This file was automatically generated. Do not edit it directly,
 29  
 //          or you will lose your changes.
 30  
 public class HtmlColumn extends javax.faces.component.UIColumn
 31  
 {
 32  
 
 33  
     static public final String COMPONENT_FAMILY =
 34  
         "javax.faces.Column";
 35  
     static public final String COMPONENT_TYPE =
 36  
         "javax.faces.HtmlColumn";
 37  
 
 38  
 
 39  
     public HtmlColumn()
 40  0
     {
 41  0
         setRendererType(null);
 42  0
     }
 43  
 
 44  
     @Override    
 45  
     public String getFamily()
 46  
     {
 47  0
         return COMPONENT_FAMILY;
 48  
     }
 49  
     
 50  
 
 51  
     // Property: headerClass
 52  
     private String _headerClass;
 53  
     
 54  
     public String getHeaderClass()
 55  
     {
 56  0
         if (_headerClass != null)
 57  
         {
 58  0
             return _headerClass;
 59  
         }
 60  0
         ValueExpression vb = getValueExpression("headerClass");
 61  0
         if (vb != null)
 62  
         {
 63  0
             return (String) vb.getValue(getFacesContext().getELContext());
 64  
         }
 65  0
         return null;
 66  
     }
 67  
 
 68  
     public void setHeaderClass(String headerClass)
 69  
     {
 70  0
         this._headerClass = headerClass;
 71  0
     }
 72  
     // Property: footerClass
 73  
     private String _footerClass;
 74  
     
 75  
     public String getFooterClass()
 76  
     {
 77  0
         if (_footerClass != null)
 78  
         {
 79  0
             return _footerClass;
 80  
         }
 81  0
         ValueExpression vb = getValueExpression("footerClass");
 82  0
         if (vb != null)
 83  
         {
 84  0
             return (String) vb.getValue(getFacesContext().getELContext());
 85  
         }
 86  0
         return null;
 87  
     }
 88  
 
 89  
     public void setFooterClass(String footerClass)
 90  
     {
 91  0
         this._footerClass = footerClass;
 92  0
     }
 93  
 
 94  
     @Override
 95  
     public Object saveState(FacesContext facesContext)
 96  
     {
 97  0
         Object[] values = new Object[3];
 98  0
         values[0] = super.saveState(facesContext);
 99  0
         values[1] = _headerClass;
 100  0
         values[2] = _footerClass;
 101  0
         return values; 
 102  
     }
 103  
 
 104  
     @Override
 105  
     public void restoreState(FacesContext facesContext, Object state)
 106  
     {
 107  0
         Object[] values = (Object[])state;
 108  0
         super.restoreState(facesContext,values[0]);
 109  0
         _headerClass = (java.lang.String) values[1];
 110  0
         _footerClass = (java.lang.String) values[2];
 111  0
     }
 112  
 }