1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
package org.apache.myfaces.shared_impl.taglib.html; |
20 | |
|
21 | |
import org.apache.myfaces.shared_impl.renderkit.html.HTML; |
22 | |
|
23 | |
import javax.faces.component.UIComponent; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | 0 | public abstract class HtmlCommandLinkTagBase |
32 | |
extends HtmlComponentTagBase |
33 | |
{ |
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
private String _accesskey; |
46 | |
private String _charset; |
47 | |
private String _coords; |
48 | |
private String _disabled; |
49 | |
private String _hreflang; |
50 | |
private String _rel; |
51 | |
private String _rev; |
52 | |
private String _shape; |
53 | |
private String _tabindex; |
54 | |
private String _type; |
55 | |
private String _target; |
56 | |
|
57 | |
|
58 | |
private String _onblur; |
59 | |
|
60 | |
private String _onfocus; |
61 | |
|
62 | |
|
63 | |
private String _action; |
64 | |
private String _immediate; |
65 | |
private String _actionListener; |
66 | |
|
67 | |
public void release() { |
68 | 0 | super.release(); |
69 | 0 | _accesskey=null; |
70 | 0 | _charset=null; |
71 | 0 | _coords=null; |
72 | 0 | _disabled=null; |
73 | 0 | _hreflang=null; |
74 | 0 | _rel=null; |
75 | 0 | _rev=null; |
76 | 0 | _shape=null; |
77 | 0 | _tabindex=null; |
78 | 0 | _type=null; |
79 | 0 | _target=null; |
80 | 0 | _onblur=null; |
81 | 0 | _onfocus=null; |
82 | 0 | _action=null; |
83 | 0 | _immediate=null; |
84 | 0 | _actionListener=null; |
85 | 0 | } |
86 | |
|
87 | |
protected void setProperties(UIComponent component) |
88 | |
{ |
89 | 0 | super.setProperties(component); |
90 | |
|
91 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ACCESSKEY_ATTR, _accesskey); |
92 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.CHARSET_ATTR, _charset); |
93 | 0 | setStringProperty(component, HTML.COORDS_ATTR, _coords); |
94 | 0 | setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled); |
95 | 0 | setStringProperty(component, HTML.HREFLANG_ATTR, _hreflang); |
96 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.REL_ATTR, _rel); |
97 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.REV_ATTR, _rev); |
98 | 0 | setStringProperty(component, HTML.SHAPE_ATTR, _shape); |
99 | 0 | setStringProperty(component, HTML.TABINDEX_ATTR, _tabindex); |
100 | 0 | setStringProperty(component, HTML.TYPE_ATTR, _type); |
101 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONBLUR_ATTR, _onblur); |
102 | 0 | setStringProperty(component, HTML.ONFOCUS_ATTR, _onfocus); |
103 | 0 | setStringProperty(component, HTML.TARGET_ATTR, _target); |
104 | 0 | setActionProperty(component, _action); |
105 | 0 | setActionListenerProperty(component, _actionListener); |
106 | 0 | setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.JSFAttr.IMMEDIATE_ATTR, _immediate); |
107 | 0 | } |
108 | |
|
109 | |
public void setAccesskey(String accesskey) |
110 | |
{ |
111 | 0 | _accesskey = accesskey; |
112 | 0 | } |
113 | |
|
114 | |
public void setCharset(String charset) |
115 | |
{ |
116 | 0 | _charset = charset; |
117 | 0 | } |
118 | |
|
119 | |
public void setCoords(String coords) |
120 | |
{ |
121 | 0 | _coords = coords; |
122 | 0 | } |
123 | |
|
124 | |
public void setDisabled(String disabled) |
125 | |
{ |
126 | 0 | _disabled = disabled; |
127 | 0 | } |
128 | |
|
129 | |
public void setHreflang(String hreflang) |
130 | |
{ |
131 | 0 | _hreflang = hreflang; |
132 | 0 | } |
133 | |
|
134 | |
public void setOnblur(String onblur) |
135 | |
{ |
136 | 0 | _onblur = onblur; |
137 | 0 | } |
138 | |
|
139 | |
public void setOnfocus(String onfocus) |
140 | |
{ |
141 | 0 | _onfocus = onfocus; |
142 | 0 | } |
143 | |
|
144 | |
public void setRel(String rel) |
145 | |
{ |
146 | 0 | _rel = rel; |
147 | 0 | } |
148 | |
|
149 | |
public void setRev(String rev) |
150 | |
{ |
151 | 0 | _rev = rev; |
152 | 0 | } |
153 | |
|
154 | |
public void setShape(String shape) |
155 | |
{ |
156 | 0 | _shape = shape; |
157 | 0 | } |
158 | |
|
159 | |
public void setTabindex(String tabindex) |
160 | |
{ |
161 | 0 | _tabindex = tabindex; |
162 | 0 | } |
163 | |
|
164 | |
public void setType(String type) |
165 | |
{ |
166 | 0 | _type = type; |
167 | 0 | } |
168 | |
|
169 | |
public void setAction(String action) |
170 | |
{ |
171 | 0 | _action = action; |
172 | 0 | } |
173 | |
|
174 | |
public void setImmediate(String immediate) |
175 | |
{ |
176 | 0 | _immediate = immediate; |
177 | 0 | } |
178 | |
|
179 | |
public void setActionListener(String actionListener) |
180 | |
{ |
181 | 0 | _actionListener = actionListener; |
182 | 0 | } |
183 | |
|
184 | |
|
185 | |
public void setTarget(String target) |
186 | |
{ |
187 | 0 | this._target = target; |
188 | 0 | } |
189 | |
} |