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 | |
|
32 | 0 | public abstract class HtmlOutputLinkTagBase |
33 | |
extends org.apache.myfaces.shared_impl.taglib.html.HtmlComponentTagBase |
34 | |
{ |
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
private String _accesskey; |
45 | |
private String _charset; |
46 | |
private String _coords; |
47 | |
private String _disabled; |
48 | |
private String _hreflang; |
49 | |
private String _rel; |
50 | |
private String _rev; |
51 | |
private String _shape; |
52 | |
private String _tabindex; |
53 | |
private String _target; |
54 | |
private String _type; |
55 | |
|
56 | |
private String _onblur; |
57 | |
|
58 | |
private String _onfocus; |
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
public void release() { |
66 | 0 | super.release(); |
67 | 0 | _accesskey=null; |
68 | 0 | _charset=null; |
69 | 0 | _coords=null; |
70 | 0 | _disabled=null; |
71 | 0 | _hreflang=null; |
72 | 0 | _rel=null; |
73 | 0 | _rev=null; |
74 | 0 | _shape=null; |
75 | 0 | _tabindex=null; |
76 | 0 | _target=null; |
77 | 0 | _type=null; |
78 | 0 | _onblur=null; |
79 | 0 | _onfocus=null; |
80 | 0 | } |
81 | |
|
82 | |
protected void setProperties(UIComponent component) |
83 | |
{ |
84 | 0 | super.setProperties(component); |
85 | |
|
86 | 0 | setStringProperty(component, HTML.ACCESSKEY_ATTR, _accesskey); |
87 | 0 | setStringProperty(component, HTML.CHARSET_ATTR, _charset); |
88 | 0 | setStringProperty(component, HTML.COORDS_ATTR, _coords); |
89 | 0 | setBooleanProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.DISABLED_ATTR, _disabled); |
90 | 0 | setStringProperty(component, HTML.HREFLANG_ATTR, _hreflang); |
91 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.REL_ATTR, _rel); |
92 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.REV_ATTR, _rev); |
93 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.SHAPE_ATTR, _shape); |
94 | 0 | setStringProperty(component, HTML.TABINDEX_ATTR, _tabindex); |
95 | 0 | setStringProperty(component, HTML.TARGET_ATTR, _target); |
96 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.TYPE_ATTR, _type); |
97 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONBLUR_ATTR, _onblur); |
98 | 0 | setStringProperty(component, org.apache.myfaces.shared_impl.renderkit.html.HTML.ONFOCUS_ATTR, _onfocus); |
99 | 0 | } |
100 | |
|
101 | |
public void setAccesskey(String accesskey) |
102 | |
{ |
103 | 0 | _accesskey = accesskey; |
104 | 0 | } |
105 | |
|
106 | |
public void setCharset(String charset) |
107 | |
{ |
108 | 0 | _charset = charset; |
109 | 0 | } |
110 | |
|
111 | |
public void setCoords(String coords) |
112 | |
{ |
113 | 0 | _coords = coords; |
114 | 0 | } |
115 | |
|
116 | |
public void setDisabled(String disabled) |
117 | |
{ |
118 | 0 | _disabled = disabled; |
119 | 0 | } |
120 | |
|
121 | |
public void setHreflang(String hreflang) |
122 | |
{ |
123 | 0 | _hreflang = hreflang; |
124 | 0 | } |
125 | |
|
126 | |
public void setOnblur(String onblur) |
127 | |
{ |
128 | 0 | _onblur = onblur; |
129 | 0 | } |
130 | |
|
131 | |
public void setOnfocus(String onfocus) |
132 | |
{ |
133 | 0 | _onfocus = onfocus; |
134 | 0 | } |
135 | |
|
136 | |
public void setRel(String rel) |
137 | |
{ |
138 | 0 | _rel = rel; |
139 | 0 | } |
140 | |
|
141 | |
public void setRev(String rev) |
142 | |
{ |
143 | 0 | _rev = rev; |
144 | 0 | } |
145 | |
|
146 | |
public void setShape(String shape) |
147 | |
{ |
148 | 0 | _shape = shape; |
149 | 0 | } |
150 | |
|
151 | |
public void setTabindex(String tabindex) |
152 | |
{ |
153 | 0 | _tabindex = tabindex; |
154 | 0 | } |
155 | |
|
156 | |
public void setTarget(String target) |
157 | |
{ |
158 | 0 | _target = target; |
159 | 0 | } |
160 | |
|
161 | |
public void setType(String type) |
162 | |
{ |
163 | 0 | _type = type; |
164 | 0 | } |
165 | |
} |