View Javadoc

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._HtmlMessage.
30  //
31  // WARNING: This file was automatically generated. Do not edit it directly,
32  //          or you will lose your changes.
33  public class HtmlMessageTag
34      extends javax.faces.webapp.UIComponentELTag
35  {
36      public HtmlMessageTag()
37      {    
38      }
39      
40      @Override
41      public String getComponentType()
42      {
43          return "javax.faces.HtmlMessage";
44      }
45  
46      public String getRendererType()
47      {
48          return "javax.faces.Message";
49      }
50  
51      private ValueExpression _style;
52      
53      public void setStyle(ValueExpression style)
54      {
55          _style = style;
56      }
57      private ValueExpression _styleClass;
58      
59      public void setStyleClass(ValueExpression styleClass)
60      {
61          _styleClass = styleClass;
62      }
63      private ValueExpression _errorClass;
64      
65      public void setErrorClass(ValueExpression errorClass)
66      {
67          _errorClass = errorClass;
68      }
69      private ValueExpression _errorStyle;
70      
71      public void setErrorStyle(ValueExpression errorStyle)
72      {
73          _errorStyle = errorStyle;
74      }
75      private ValueExpression _fatalClass;
76      
77      public void setFatalClass(ValueExpression fatalClass)
78      {
79          _fatalClass = fatalClass;
80      }
81      private ValueExpression _fatalStyle;
82      
83      public void setFatalStyle(ValueExpression fatalStyle)
84      {
85          _fatalStyle = fatalStyle;
86      }
87      private ValueExpression _infoClass;
88      
89      public void setInfoClass(ValueExpression infoClass)
90      {
91          _infoClass = infoClass;
92      }
93      private ValueExpression _infoStyle;
94      
95      public void setInfoStyle(ValueExpression infoStyle)
96      {
97          _infoStyle = infoStyle;
98      }
99      private ValueExpression _tooltip;
100     
101     public void setTooltip(ValueExpression tooltip)
102     {
103         _tooltip = tooltip;
104     }
105     private ValueExpression _warnClass;
106     
107     public void setWarnClass(ValueExpression warnClass)
108     {
109         _warnClass = warnClass;
110     }
111     private ValueExpression _warnStyle;
112     
113     public void setWarnStyle(ValueExpression warnStyle)
114     {
115         _warnStyle = warnStyle;
116     }
117     private ValueExpression _role;
118     
119     public void setRole(ValueExpression role)
120     {
121         _role = role;
122     }
123     private ValueExpression _dir;
124     
125     public void setDir(ValueExpression dir)
126     {
127         _dir = dir;
128     }
129     private ValueExpression _lang;
130     
131     public void setLang(ValueExpression lang)
132     {
133         _lang = lang;
134     }
135     private ValueExpression _title;
136     
137     public void setTitle(ValueExpression title)
138     {
139         _title = title;
140     }
141     private ValueExpression _for;
142     
143     public void setFor(ValueExpression forParam)
144     {
145         _for = forParam;
146     }
147     private ValueExpression _showDetail;
148     
149     public void setShowDetail(ValueExpression showDetail)
150     {
151         _showDetail = showDetail;
152     }
153     private ValueExpression _showSummary;
154     
155     public void setShowSummary(ValueExpression showSummary)
156     {
157         _showSummary = showSummary;
158     }
159 
160     @Override
161     protected void setProperties(UIComponent component)
162     {
163         if (!(component instanceof javax.faces.component.html.HtmlMessage ))
164         {
165             throw new IllegalArgumentException("Component "+
166                 component.getClass().getName() +" is no javax.faces.component.html.HtmlMessage");
167         }
168         
169         javax.faces.component.html.HtmlMessage comp = (javax.faces.component.html.HtmlMessage) component;
170         
171         super.setProperties(component);
172         
173 
174         if (_style != null)
175         {
176             comp.setValueExpression("style", _style);
177         } 
178         if (_styleClass != null)
179         {
180             comp.setValueExpression("styleClass", _styleClass);
181         } 
182         if (_errorClass != null)
183         {
184             comp.setValueExpression("errorClass", _errorClass);
185         } 
186         if (_errorStyle != null)
187         {
188             comp.setValueExpression("errorStyle", _errorStyle);
189         } 
190         if (_fatalClass != null)
191         {
192             comp.setValueExpression("fatalClass", _fatalClass);
193         } 
194         if (_fatalStyle != null)
195         {
196             comp.setValueExpression("fatalStyle", _fatalStyle);
197         } 
198         if (_infoClass != null)
199         {
200             comp.setValueExpression("infoClass", _infoClass);
201         } 
202         if (_infoStyle != null)
203         {
204             comp.setValueExpression("infoStyle", _infoStyle);
205         } 
206         if (_tooltip != null)
207         {
208             comp.setValueExpression("tooltip", _tooltip);
209         } 
210         if (_warnClass != null)
211         {
212             comp.setValueExpression("warnClass", _warnClass);
213         } 
214         if (_warnStyle != null)
215         {
216             comp.setValueExpression("warnStyle", _warnStyle);
217         } 
218         if (_role != null)
219         {
220             comp.setValueExpression("role", _role);
221         } 
222         if (_dir != null)
223         {
224             comp.setValueExpression("dir", _dir);
225         } 
226         if (_lang != null)
227         {
228             comp.setValueExpression("lang", _lang);
229         } 
230         if (_title != null)
231         {
232             comp.setValueExpression("title", _title);
233         } 
234         if (_for != null)
235         {
236             comp.setValueExpression("for", _for);
237         } 
238         if (_showDetail != null)
239         {
240             comp.setValueExpression("showDetail", _showDetail);
241         } 
242         if (_showSummary != null)
243         {
244             comp.setValueExpression("showSummary", _showSummary);
245         } 
246     }
247 
248     @Override
249     public void release()
250     {
251         super.release();
252         _style = null;
253         _styleClass = null;
254         _errorClass = null;
255         _errorStyle = null;
256         _fatalClass = null;
257         _fatalStyle = null;
258         _infoClass = null;
259         _infoStyle = null;
260         _tooltip = null;
261         _warnClass = null;
262         _warnStyle = null;
263         _role = null;
264         _dir = null;
265         _lang = null;
266         _title = null;
267         _for = null;
268         _showDetail = null;
269         _showSummary = null;
270     }
271 }