View Javadoc

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._HtmlOutputText.
29  //
30  // WARNING: This file was automatically generated. Do not edit it directly,
31  //          or you will lose your changes.
32  public class HtmlOutputText 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.HtmlOutputText";
39  
40  
41      public HtmlOutputText()
42      {
43          setRendererType("javax.faces.Text");
44      }
45  
46      @Override    
47      public String getFamily()
48      {
49          return COMPONENT_FAMILY;
50      }
51  
52  
53  
54      
55      // Property: style
56  
57      public String getStyle()
58      {
59          return (String) getStateHelper().eval(PropertyKeys.style);
60      }
61      
62      public void setStyle(String style)
63      {
64          getStateHelper().put(PropertyKeys.style, style ); 
65          _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLE_PROP);
66      }
67      // Property: styleClass
68  
69      public String getStyleClass()
70      {
71          return (String) getStateHelper().eval(PropertyKeys.styleClass);
72      }
73      
74      public void setStyleClass(String styleClass)
75      {
76          getStateHelper().put(PropertyKeys.styleClass, styleClass ); 
77          _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.STYLECLASS_PROP);
78      }
79      // Property: escape
80  
81      public boolean isEscape()
82      {
83          return (Boolean) getStateHelper().eval(PropertyKeys.escape, true);
84      }
85      
86      public void setEscape(boolean escape)
87      {
88          getStateHelper().put(PropertyKeys.escape, escape ); 
89          _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ESCAPE_PROP);
90      }
91      // Property: role
92  
93      public String getRole()
94      {
95          return (String) getStateHelper().eval(PropertyKeys.role);
96      }
97      
98      public void setRole(String role)
99      {
100         getStateHelper().put(PropertyKeys.role, role ); 
101         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.ROLE_PROP);
102     }
103     // Property: dir
104 
105     public String getDir()
106     {
107         return (String) getStateHelper().eval(PropertyKeys.dir);
108     }
109     
110     public void setDir(String dir)
111     {
112         getStateHelper().put(PropertyKeys.dir, dir ); 
113         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.DIR_PROP);
114     }
115     // Property: lang
116 
117     public String getLang()
118     {
119         return (String) getStateHelper().eval(PropertyKeys.lang);
120     }
121     
122     public void setLang(String lang)
123     {
124         getStateHelper().put(PropertyKeys.lang, lang ); 
125         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.LANG_PROP);
126     }
127     // Property: title
128 
129     public String getTitle()
130     {
131         return (String) getStateHelper().eval(PropertyKeys.title);
132     }
133     
134     public void setTitle(String title)
135     {
136         getStateHelper().put(PropertyKeys.title, title ); 
137         _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.TITLE_PROP);
138     }
139 
140     public void setValueBinding(String name, ValueBinding binding)
141     {
142         super.setValueBinding(name, binding);
143         _CommonPropertyConstants.markProperty(this, name);
144     }
145 
146     public void setValueExpression(String name, ValueExpression expression)
147     {
148         super.setValueExpression(name, expression);
149         _CommonPropertyConstants.markProperty(this, name);
150     }
151 
152     protected enum PropertyKeys
153     {
154          style
155         , styleClass
156         , escape
157         , role
158         , dir
159         , lang
160         , title
161     }
162 
163  }