Coverage Report - javax.faces.component.html.HtmlDoctype
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlDoctype
0%
0/13
N/A
1.091
HtmlDoctype$PropertyKeys
0%
0/10
0%
0/2
1.091
 
 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.faces.el.ValueBinding;
 22  
 import javax.el.ValueExpression;
 23  
 import javax.faces.context.FacesContext;
 24  
 import javax.faces.component.UIComponent;
 25  
 import javax.faces.convert.Converter;
 26  
 
 27  
 
 28  
 // Generated from class javax.faces.component.html._HtmlDoctype.
 29  
 //
 30  
 // WARNING: This file was automatically generated. Do not edit it directly,
 31  
 //          or you will lose your changes.
 32  
 public class HtmlDoctype extends javax.faces.component.UIOutput
 33  
 {
 34  
 
 35  
     static public final String COMPONENT_FAMILY =
 36  
         "javax.faces.Output";
 37  
     static public final String COMPONENT_TYPE =
 38  
         "javax.faces.OutputDoctype";
 39  
 
 40  
 
 41  
     public HtmlDoctype()
 42  0
     {
 43  0
         setRendererType("javax.faces.Doctype");
 44  0
     }
 45  
 
 46  
     @Override    
 47  
     public String getFamily()
 48  
     {
 49  0
         return COMPONENT_FAMILY;
 50  
     }
 51  
 
 52  
 
 53  
 
 54  
     
 55  
     // Property: public
 56  
 
 57  
     public String getPublic()
 58  
     {
 59  0
         return (String) getStateHelper().eval(PropertyKeys.publicVal);
 60  
     }
 61  
     
 62  
     public void setPublic(String publicParam)
 63  
     {
 64  0
         getStateHelper().put(PropertyKeys.publicVal, publicParam ); 
 65  0
     }
 66  
     // Property: rootElement
 67  
 
 68  
     public String getRootElement()
 69  
     {
 70  0
         return (String) getStateHelper().eval(PropertyKeys.rootElement);
 71  
     }
 72  
     
 73  
     public void setRootElement(String rootElement)
 74  
     {
 75  0
         getStateHelper().put(PropertyKeys.rootElement, rootElement ); 
 76  0
     }
 77  
     // Property: system
 78  
 
 79  
     public String getSystem()
 80  
     {
 81  0
         return (String) getStateHelper().eval(PropertyKeys.system);
 82  
     }
 83  
     
 84  
     public void setSystem(String system)
 85  
     {
 86  0
         getStateHelper().put(PropertyKeys.system, system ); 
 87  0
     }
 88  
 
 89  
 
 90  0
     protected enum PropertyKeys
 91  
     {
 92  0
          publicVal("public")
 93  0
         , rootElement
 94  0
         , system
 95  
         ;
 96  
         String c;
 97  
         
 98  
         PropertyKeys()
 99  0
         {
 100  0
         }
 101  
         
 102  
         //Constructor needed by "for" property
 103  
         PropertyKeys(String c)
 104  0
         { 
 105  0
             this.c = c;
 106  0
         }
 107  
         
 108  
         public String toString()
 109  
         {
 110  0
             return ((this.c != null) ? this.c : super.toString());
 111  
         }
 112  
     }
 113  
 
 114  
  }