001: // WARNING: This file was automatically generated. Do not edit it directly,
002: // or you will lose your changes.
003:
004: /*
005: * Licensed to the Apache Software Foundation (ASF) under one
006: * or more contributor license agreements. See the NOTICE file
007: * distributed with this work for additional information
008: * regarding copyright ownership. The ASF licenses this file
009: * to you under the Apache License, Version 2.0 (the
010: * "License"); you may not use this file except in compliance
011: * with the License. You may obtain a copy of the License at
012: *
013: * http://www.apache.org/licenses/LICENSE-2.0
014: *
015: * Unless required by applicable law or agreed to in writing,
016: * software distributed under the License is distributed on an
017: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
018: * KIND, either express or implied. See the License for the
019: * specific language governing permissions and limitations
020: * under the License.
021: */
022: package org.apache.myfaces.taglib.html;
023:
024: import javax.el.ValueExpression;
025: import javax.faces.component.UIComponent;
026: import javax.faces.component.UIForm;
027: import javax.faces.component.html.HtmlForm;
028: import javax.faces.webapp.UIComponentELTag;
029:
030: /**
031: * Auto-generated tag class.
032: */
033: public class HtmlFormTag extends UIComponentELTag {
034:
035: /**
036: * Construct an instance of the HtmlFormTag.
037: */
038: public HtmlFormTag() {
039: }
040:
041: public String getComponentType() {
042: return "javax.faces.HtmlForm";
043: }
044:
045: public String getRendererType() {
046: return "javax.faces.Form";
047: }
048:
049: private ValueExpression _prependId;
050:
051: public void setPrependId(ValueExpression prependId) {
052: _prependId = prependId;
053: }
054:
055: private ValueExpression _style;
056:
057: public void setStyle(ValueExpression style) {
058: _style = style;
059: }
060:
061: private ValueExpression _styleClass;
062:
063: public void setStyleClass(ValueExpression styleClass) {
064: _styleClass = styleClass;
065: }
066:
067: private ValueExpression _dir;
068:
069: public void setDir(ValueExpression dir) {
070: _dir = dir;
071: }
072:
073: private ValueExpression _lang;
074:
075: public void setLang(ValueExpression lang) {
076: _lang = lang;
077: }
078:
079: private ValueExpression _title;
080:
081: public void setTitle(ValueExpression title) {
082: _title = title;
083: }
084:
085: private ValueExpression _onclick;
086:
087: public void setOnclick(ValueExpression onclick) {
088: _onclick = onclick;
089: }
090:
091: private ValueExpression _ondblclick;
092:
093: public void setOndblclick(ValueExpression ondblclick) {
094: _ondblclick = ondblclick;
095: }
096:
097: private ValueExpression _onmousedown;
098:
099: public void setOnmousedown(ValueExpression onmousedown) {
100: _onmousedown = onmousedown;
101: }
102:
103: private ValueExpression _onmouseup;
104:
105: public void setOnmouseup(ValueExpression onmouseup) {
106: _onmouseup = onmouseup;
107: }
108:
109: private ValueExpression _onmouseover;
110:
111: public void setOnmouseover(ValueExpression onmouseover) {
112: _onmouseover = onmouseover;
113: }
114:
115: private ValueExpression _onmousemove;
116:
117: public void setOnmousemove(ValueExpression onmousemove) {
118: _onmousemove = onmousemove;
119: }
120:
121: private ValueExpression _onmouseout;
122:
123: public void setOnmouseout(ValueExpression onmouseout) {
124: _onmouseout = onmouseout;
125: }
126:
127: private ValueExpression _onkeypress;
128:
129: public void setOnkeypress(ValueExpression onkeypress) {
130: _onkeypress = onkeypress;
131: }
132:
133: private ValueExpression _onkeydown;
134:
135: public void setOnkeydown(ValueExpression onkeydown) {
136: _onkeydown = onkeydown;
137: }
138:
139: private ValueExpression _onkeyup;
140:
141: public void setOnkeyup(ValueExpression onkeyup) {
142: _onkeyup = onkeyup;
143: }
144:
145: private ValueExpression _target;
146:
147: public void setTarget(ValueExpression target) {
148: _target = target;
149: }
150:
151: private ValueExpression _accept;
152:
153: public void setAccept(ValueExpression accept) {
154: _accept = accept;
155: }
156:
157: private ValueExpression _acceptcharset;
158:
159: public void setAcceptcharset(ValueExpression acceptcharset) {
160: _acceptcharset = acceptcharset;
161: }
162:
163: private ValueExpression _enctype;
164:
165: public void setEnctype(ValueExpression enctype) {
166: _enctype = enctype;
167: }
168:
169: private ValueExpression _onreset;
170:
171: public void setOnreset(ValueExpression onreset) {
172: _onreset = onreset;
173: }
174:
175: private ValueExpression _onsubmit;
176:
177: public void setOnsubmit(ValueExpression onsubmit) {
178: _onsubmit = onsubmit;
179: }
180:
181: @Override
182: protected void setProperties(UIComponent component) {
183: if (!(component instanceof HtmlForm)) {
184: throw new IllegalArgumentException("Component "
185: + component.getClass().getName()
186: + " is no HtmlForm");
187: }
188: HtmlForm comp = (HtmlForm) component;
189:
190: super .setProperties(component);
191:
192: if (_acceptcharset != null) {
193: comp.setValueExpression("acceptcharset", _acceptcharset);
194: }
195: if (_accept != null) {
196: comp.setValueExpression("accept", _accept);
197: }
198: if (_onclick != null) {
199: comp.setValueExpression("onclick", _onclick);
200: }
201: if (_onkeyup != null) {
202: comp.setValueExpression("onkeyup", _onkeyup);
203: }
204: if (_onmousemove != null) {
205: comp.setValueExpression("onmousemove", _onmousemove);
206: }
207: if (_lang != null) {
208: comp.setValueExpression("lang", _lang);
209: }
210: if (_onkeydown != null) {
211: comp.setValueExpression("onkeydown", _onkeydown);
212: }
213: if (_onmouseout != null) {
214: comp.setValueExpression("onmouseout", _onmouseout);
215: }
216: if (_target != null) {
217: comp.setValueExpression("target", _target);
218: }
219: if (_onsubmit != null) {
220: comp.setValueExpression("onsubmit", _onsubmit);
221: }
222: if (_enctype != null) {
223: comp.setValueExpression("enctype", _enctype);
224: }
225: if (_onkeypress != null) {
226: comp.setValueExpression("onkeypress", _onkeypress);
227: }
228: if (_ondblclick != null) {
229: comp.setValueExpression("ondblclick", _ondblclick);
230: }
231: if (_prependId != null) {
232: comp.setValueExpression("prependId", _prependId);
233: }
234: if (_style != null) {
235: comp.setValueExpression("style", _style);
236: }
237: if (_onmousedown != null) {
238: comp.setValueExpression("onmousedown", _onmousedown);
239: }
240: if (_onreset != null) {
241: comp.setValueExpression("onreset", _onreset);
242: }
243: if (_styleClass != null) {
244: comp.setValueExpression("styleClass", _styleClass);
245: }
246: if (_dir != null) {
247: comp.setValueExpression("dir", _dir);
248: }
249: if (_title != null) {
250: comp.setValueExpression("title", _title);
251: }
252: if (_onmouseover != null) {
253: comp.setValueExpression("onmouseover", _onmouseover);
254: }
255: if (_onmouseup != null) {
256: comp.setValueExpression("onmouseup", _onmouseup);
257: }
258: }
259:
260: @Override
261: public void release() {
262: super.release();
263: _acceptcharset = null;
264: _accept = null;
265: _onclick = null;
266: _onkeyup = null;
267: _onmousemove = null;
268: _lang = null;
269: _onkeydown = null;
270: _onmouseout = null;
271: _target = null;
272: _onsubmit = null;
273: _enctype = null;
274: _onkeypress = null;
275: _ondblclick = null;
276: _prependId = null;
277: _style = null;
278: _onmousedown = null;
279: _onreset = null;
280: _styleClass = null;
281: _dir = null;
282: _title = null;
283: _onmouseover = null;
284: _onmouseup = null;
285: }
286: }
|