Coverage Report - org.apache.myfaces.taglib.html.HtmlPanelGroupTag
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlPanelGroupTag
0%
0/26
0%
0/8
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._HtmlPanelGroup.
 30  
 //
 31  
 // WARNING: This file was automatically generated. Do not edit it directly,
 32  
 //          or you will lose your changes.
 33  
 public class HtmlPanelGroupTag
 34  
     extends javax.faces.webapp.UIComponentELTag
 35  
 {
 36  
     public HtmlPanelGroupTag()
 37  0
     {    
 38  0
     }
 39  
     
 40  
     @Override
 41  
     public String getComponentType()
 42  
     {
 43  0
         return "javax.faces.HtmlPanelGroup";
 44  
     }
 45  
 
 46  
     public String getRendererType()
 47  
     {
 48  0
         return "javax.faces.Group";
 49  
     }
 50  
 
 51  
     private ValueExpression _layout;
 52  
     
 53  
     public void setLayout(ValueExpression layout)
 54  
     {
 55  0
         _layout = layout;
 56  0
     }
 57  
     private ValueExpression _style;
 58  
     
 59  
     public void setStyle(ValueExpression style)
 60  
     {
 61  0
         _style = style;
 62  0
     }
 63  
     private ValueExpression _styleClass;
 64  
     
 65  
     public void setStyleClass(ValueExpression styleClass)
 66  
     {
 67  0
         _styleClass = styleClass;
 68  0
     }
 69  
 
 70  
     @Override
 71  
     protected void setProperties(UIComponent component)
 72  
     {
 73  0
         if (!(component instanceof javax.faces.component.html.HtmlPanelGroup ))
 74  
         {
 75  0
             throw new IllegalArgumentException("Component "+
 76  
                 component.getClass().getName() +" is no javax.faces.component.html.HtmlPanelGroup");
 77  
         }
 78  
         
 79  0
         javax.faces.component.html.HtmlPanelGroup comp = (javax.faces.component.html.HtmlPanelGroup) component;
 80  
         
 81  0
         super.setProperties(component);
 82  
         
 83  
 
 84  0
         if (_layout != null)
 85  
         {
 86  0
             comp.setValueExpression("layout", _layout);
 87  
         } 
 88  0
         if (_style != null)
 89  
         {
 90  0
             comp.setValueExpression("style", _style);
 91  
         } 
 92  0
         if (_styleClass != null)
 93  
         {
 94  0
             comp.setValueExpression("styleClass", _styleClass);
 95  
         } 
 96  0
     }
 97  
 
 98  
     @Override
 99  
     public void release()
 100  
     {
 101  0
         super.release();
 102  0
         _layout = null;
 103  0
         _style = null;
 104  0
         _styleClass = null;
 105  0
     }
 106  
 }