Coverage Report - javax.faces.component.html.HtmlOutputText
 
Classes in this File Line Coverage Branch Coverage Complexity
HtmlOutputText
0%
0/73
0%
0/24
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  
 import javax.faces.convert.Converter;
 25  
 
 26  
 
 27  
 // Generated from class javax.faces.component.html._HtmlOutputText.
 28  
 //
 29  
 // WARNING: This file was automatically generated. Do not edit it directly,
 30  
 //          or you will lose your changes.
 31  
 public class HtmlOutputText extends javax.faces.component.UIOutput
 32  
 {
 33  
 
 34  
     static public final String COMPONENT_FAMILY =
 35  
         "javax.faces.Output";
 36  
     static public final String COMPONENT_TYPE =
 37  
         "javax.faces.HtmlOutputText";
 38  
 
 39  
 
 40  
     public HtmlOutputText()
 41  0
     {
 42  0
         setRendererType("javax.faces.Text");
 43  0
     }
 44  
 
 45  
     @Override    
 46  
     public String getFamily()
 47  
     {
 48  0
         return COMPONENT_FAMILY;
 49  
     }
 50  
     
 51  
 
 52  
     // Property: style
 53  
     private String _style;
 54  
     
 55  
     public String getStyle()
 56  
     {
 57  0
         if (_style != null)
 58  
         {
 59  0
             return _style;
 60  
         }
 61  0
         ValueExpression vb = getValueExpression("style");
 62  0
         if (vb != null)
 63  
         {
 64  0
             return (String) vb.getValue(getFacesContext().getELContext());
 65  
         }
 66  0
         return null;
 67  
     }
 68  
 
 69  
     public void setStyle(String style)
 70  
     {
 71  0
         this._style = style;
 72  0
     }
 73  
     // Property: styleClass
 74  
     private String _styleClass;
 75  
     
 76  
     public String getStyleClass()
 77  
     {
 78  0
         if (_styleClass != null)
 79  
         {
 80  0
             return _styleClass;
 81  
         }
 82  0
         ValueExpression vb = getValueExpression("styleClass");
 83  0
         if (vb != null)
 84  
         {
 85  0
             return (String) vb.getValue(getFacesContext().getELContext());
 86  
         }
 87  0
         return null;
 88  
     }
 89  
 
 90  
     public void setStyleClass(String styleClass)
 91  
     {
 92  0
         this._styleClass = styleClass;
 93  0
     }
 94  
     // Property: escape
 95  
     private boolean _escape;
 96  
     
 97  
     private boolean _escapeSet;
 98  
     
 99  
     public boolean isEscape()
 100  
     {
 101  0
         if (_escapeSet)
 102  
         {
 103  0
             return _escape;
 104  
         }
 105  0
         ValueExpression vb = getValueExpression("escape");
 106  0
         if (vb != null)
 107  
         {
 108  0
             return ((Boolean) vb.getValue(getFacesContext().getELContext())).booleanValue();
 109  
         }
 110  0
         return true; 
 111  
     }
 112  
 
 113  
     public void setEscape(boolean escape)
 114  
     {
 115  0
         this._escape = escape;
 116  0
         this._escapeSet = true;        
 117  0
     }
 118  
     // Property: dir
 119  
     private String _dir;
 120  
     
 121  
     public String getDir()
 122  
     {
 123  0
         if (_dir != null)
 124  
         {
 125  0
             return _dir;
 126  
         }
 127  0
         ValueExpression vb = getValueExpression("dir");
 128  0
         if (vb != null)
 129  
         {
 130  0
             return (String) vb.getValue(getFacesContext().getELContext());
 131  
         }
 132  0
         return null;
 133  
     }
 134  
 
 135  
     public void setDir(String dir)
 136  
     {
 137  0
         this._dir = dir;
 138  0
     }
 139  
     // Property: lang
 140  
     private String _lang;
 141  
     
 142  
     public String getLang()
 143  
     {
 144  0
         if (_lang != null)
 145  
         {
 146  0
             return _lang;
 147  
         }
 148  0
         ValueExpression vb = getValueExpression("lang");
 149  0
         if (vb != null)
 150  
         {
 151  0
             return (String) vb.getValue(getFacesContext().getELContext());
 152  
         }
 153  0
         return null;
 154  
     }
 155  
 
 156  
     public void setLang(String lang)
 157  
     {
 158  0
         this._lang = lang;
 159  0
     }
 160  
     // Property: title
 161  
     private String _title;
 162  
     
 163  
     public String getTitle()
 164  
     {
 165  0
         if (_title != null)
 166  
         {
 167  0
             return _title;
 168  
         }
 169  0
         ValueExpression vb = getValueExpression("title");
 170  0
         if (vb != null)
 171  
         {
 172  0
             return (String) vb.getValue(getFacesContext().getELContext());
 173  
         }
 174  0
         return null;
 175  
     }
 176  
 
 177  
     public void setTitle(String title)
 178  
     {
 179  0
         this._title = title;
 180  0
     }
 181  
 
 182  
     @Override
 183  
     public Object saveState(FacesContext facesContext)
 184  
     {
 185  0
         Object[] values = new Object[8];
 186  0
         values[0] = super.saveState(facesContext);
 187  0
         values[1] = _style;
 188  0
         values[2] = _styleClass;
 189  0
         values[3] = Boolean.valueOf(_escape);
 190  0
         values[4] = Boolean.valueOf(_escapeSet);
 191  0
         values[5] = _dir;
 192  0
         values[6] = _lang;
 193  0
         values[7] = _title;
 194  0
         return values; 
 195  
     }
 196  
 
 197  
     @Override
 198  
     public void restoreState(FacesContext facesContext, Object state)
 199  
     {
 200  0
         Object[] values = (Object[])state;
 201  0
         super.restoreState(facesContext,values[0]);
 202  0
         _style = (java.lang.String) values[1];
 203  0
         _styleClass = (java.lang.String) values[2];
 204  0
         _escape = ((Boolean) values[3]).booleanValue();
 205  0
         _escapeSet = ((Boolean) values[4]).booleanValue();
 206  0
         _dir = (java.lang.String) values[5];
 207  0
         _lang = (java.lang.String) values[6];
 208  0
         _title = (java.lang.String) values[7];
 209  0
     }
 210  
 }