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.UIOutput;
027: import javax.faces.component.html.HtmlOutputLink;
028: import javax.faces.convert.Converter;
029: import javax.faces.webapp.UIComponentELTag;
030:
031: /**
032: * Auto-generated tag class.
033: */
034: public class HtmlOutputLinkTag extends UIComponentELTag {
035:
036: /**
037: * Construct an instance of the HtmlOutputLinkTag.
038: */
039: public HtmlOutputLinkTag() {
040: }
041:
042: public String getComponentType() {
043: return "javax.faces.HtmlOutputLink";
044: }
045:
046: public String getRendererType() {
047: return "javax.faces.Link";
048: }
049:
050: private ValueExpression _style;
051:
052: public void setStyle(ValueExpression style) {
053: _style = style;
054: }
055:
056: private ValueExpression _styleClass;
057:
058: public void setStyleClass(ValueExpression styleClass) {
059: _styleClass = styleClass;
060: }
061:
062: private ValueExpression _dir;
063:
064: public void setDir(ValueExpression dir) {
065: _dir = dir;
066: }
067:
068: private ValueExpression _lang;
069:
070: public void setLang(ValueExpression lang) {
071: _lang = lang;
072: }
073:
074: private ValueExpression _title;
075:
076: public void setTitle(ValueExpression title) {
077: _title = title;
078: }
079:
080: private ValueExpression _onclick;
081:
082: public void setOnclick(ValueExpression onclick) {
083: _onclick = onclick;
084: }
085:
086: private ValueExpression _ondblclick;
087:
088: public void setOndblclick(ValueExpression ondblclick) {
089: _ondblclick = ondblclick;
090: }
091:
092: private ValueExpression _onmousedown;
093:
094: public void setOnmousedown(ValueExpression onmousedown) {
095: _onmousedown = onmousedown;
096: }
097:
098: private ValueExpression _onmouseup;
099:
100: public void setOnmouseup(ValueExpression onmouseup) {
101: _onmouseup = onmouseup;
102: }
103:
104: private ValueExpression _onmouseover;
105:
106: public void setOnmouseover(ValueExpression onmouseover) {
107: _onmouseover = onmouseover;
108: }
109:
110: private ValueExpression _onmousemove;
111:
112: public void setOnmousemove(ValueExpression onmousemove) {
113: _onmousemove = onmousemove;
114: }
115:
116: private ValueExpression _onmouseout;
117:
118: public void setOnmouseout(ValueExpression onmouseout) {
119: _onmouseout = onmouseout;
120: }
121:
122: private ValueExpression _onkeypress;
123:
124: public void setOnkeypress(ValueExpression onkeypress) {
125: _onkeypress = onkeypress;
126: }
127:
128: private ValueExpression _onkeydown;
129:
130: public void setOnkeydown(ValueExpression onkeydown) {
131: _onkeydown = onkeydown;
132: }
133:
134: private ValueExpression _onkeyup;
135:
136: public void setOnkeyup(ValueExpression onkeyup) {
137: _onkeyup = onkeyup;
138: }
139:
140: private ValueExpression _onblur;
141:
142: public void setOnblur(ValueExpression onblur) {
143: _onblur = onblur;
144: }
145:
146: private ValueExpression _onfocus;
147:
148: public void setOnfocus(ValueExpression onfocus) {
149: _onfocus = onfocus;
150: }
151:
152: private ValueExpression _accesskey;
153:
154: public void setAccesskey(ValueExpression accesskey) {
155: _accesskey = accesskey;
156: }
157:
158: private ValueExpression _charset;
159:
160: public void setCharset(ValueExpression charset) {
161: _charset = charset;
162: }
163:
164: private ValueExpression _coords;
165:
166: public void setCoords(ValueExpression coords) {
167: _coords = coords;
168: }
169:
170: private ValueExpression _hreflang;
171:
172: public void setHreflang(ValueExpression hreflang) {
173: _hreflang = hreflang;
174: }
175:
176: private ValueExpression _disabled;
177:
178: public void setDisabled(ValueExpression disabled) {
179: _disabled = disabled;
180: }
181:
182: private ValueExpression _rel;
183:
184: public void setRel(ValueExpression rel) {
185: _rel = rel;
186: }
187:
188: private ValueExpression _rev;
189:
190: public void setRev(ValueExpression rev) {
191: _rev = rev;
192: }
193:
194: private ValueExpression _shape;
195:
196: public void setShape(ValueExpression shape) {
197: _shape = shape;
198: }
199:
200: private ValueExpression _target;
201:
202: public void setTarget(ValueExpression target) {
203: _target = target;
204: }
205:
206: private ValueExpression _tabindex;
207:
208: public void setTabindex(ValueExpression tabindex) {
209: _tabindex = tabindex;
210: }
211:
212: private ValueExpression _type;
213:
214: public void setType(ValueExpression type) {
215: _type = type;
216: }
217:
218: private ValueExpression _value;
219:
220: public void setValue(ValueExpression value) {
221: _value = value;
222: }
223:
224: private ValueExpression _converter;
225:
226: public void setConverter(ValueExpression converter) {
227: _converter = converter;
228: }
229:
230: @Override
231: protected void setProperties(UIComponent component) {
232: if (!(component instanceof HtmlOutputLink)) {
233: throw new IllegalArgumentException("Component "
234: + component.getClass().getName()
235: + " is no HtmlOutputLink");
236: }
237: HtmlOutputLink comp = (HtmlOutputLink) component;
238:
239: super .setProperties(component);
240:
241: if (_dir != null) {
242: comp.setValueExpression("dir", _dir);
243: }
244: if (_style != null) {
245: comp.setValueExpression("style", _style);
246: }
247: if (_onmouseout != null) {
248: comp.setValueExpression("onmouseout", _onmouseout);
249: }
250: if (_onmouseover != null) {
251: comp.setValueExpression("onmouseover", _onmouseover);
252: }
253: if (_onkeyup != null) {
254: comp.setValueExpression("onkeyup", _onkeyup);
255: }
256: if (_onmousedown != null) {
257: comp.setValueExpression("onmousedown", _onmousedown);
258: }
259: if (_coords != null) {
260: comp.setValueExpression("coords", _coords);
261: }
262: if (_lang != null) {
263: comp.setValueExpression("lang", _lang);
264: }
265: if (_onclick != null) {
266: comp.setValueExpression("onclick", _onclick);
267: }
268: if (_ondblclick != null) {
269: comp.setValueExpression("ondblclick", _ondblclick);
270: }
271: if (_onkeydown != null) {
272: comp.setValueExpression("onkeydown", _onkeydown);
273: }
274: if (_onmousemove != null) {
275: comp.setValueExpression("onmousemove", _onmousemove);
276: }
277: if (_onfocus != null) {
278: comp.setValueExpression("onfocus", _onfocus);
279: }
280: if (_accesskey != null) {
281: comp.setValueExpression("accesskey", _accesskey);
282: }
283: if (_onblur != null) {
284: comp.setValueExpression("onblur", _onblur);
285: }
286: if (_hreflang != null) {
287: comp.setValueExpression("hreflang", _hreflang);
288: }
289: if (_onmouseup != null) {
290: comp.setValueExpression("onmouseup", _onmouseup);
291: }
292: if (_shape != null) {
293: comp.setValueExpression("shape", _shape);
294: }
295: if (_title != null) {
296: comp.setValueExpression("title", _title);
297: }
298: if (_disabled != null) {
299: comp.setValueExpression("disabled", _disabled);
300: }
301: if (_converter != null) {
302: if (!_converter.isLiteralText()) {
303: comp.setValueExpression("converter", _converter);
304: } else {
305: String s = _converter.getExpressionString();
306: if (s != null) {
307: Converter converter = getFacesContext()
308: .getApplication().createConverter(s);
309: comp.setConverter(converter);
310: }
311: }
312: }
313: if (_target != null) {
314: comp.setValueExpression("target", _target);
315: }
316: if (_charset != null) {
317: comp.setValueExpression("charset", _charset);
318: }
319: if (_type != null) {
320: comp.setValueExpression("type", _type);
321: }
322: if (_rev != null) {
323: comp.setValueExpression("rev", _rev);
324: }
325: if (_styleClass != null) {
326: comp.setValueExpression("styleClass", _styleClass);
327: }
328: if (_tabindex != null) {
329: comp.setValueExpression("tabindex", _tabindex);
330: }
331: if (_onkeypress != null) {
332: comp.setValueExpression("onkeypress", _onkeypress);
333: }
334: if (_value != null) {
335: comp.setValueExpression("value", _value);
336: }
337: if (_rel != null) {
338: comp.setValueExpression("rel", _rel);
339: }
340: }
341:
342: @Override
343: public void release() {
344: super.release();
345: _dir = null;
346: _style = null;
347: _onmouseout = null;
348: _onmouseover = null;
349: _onkeyup = null;
350: _onmousedown = null;
351: _coords = null;
352: _lang = null;
353: _onclick = null;
354: _ondblclick = null;
355: _onkeydown = null;
356: _onmousemove = null;
357: _onfocus = null;
358: _accesskey = null;
359: _onblur = null;
360: _hreflang = null;
361: _onmouseup = null;
362: _shape = null;
363: _title = null;
364: _disabled = null;
365: _converter = null;
366: _target = null;
367: _charset = null;
368: _type = null;
369: _rev = null;
370: _styleClass = null;
371: _tabindex = null;
372: _onkeypress = null;
373: _value = null;
374: _rel = null;
375: }
376: }
|