1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.apache.strutsel.taglib.html;
22
23 import java.beans.IntrospectionException;
24 import java.beans.PropertyDescriptor;
25 import java.beans.SimpleBeanInfo;
26
27 import java.util.ArrayList;
28
29
30
31
32
33
34
35
36
37
38
39
40 public class ELFrameTagBeanInfo extends SimpleBeanInfo {
41 public PropertyDescriptor[] getPropertyDescriptors() {
42 ArrayList proplist = new ArrayList();
43
44 try {
45 proplist.add(new PropertyDescriptor("action", ELFrameTag.class,
46 null, "setActionExpr"));
47 } catch (IntrospectionException ex) {
48 }
49
50 try {
51 proplist.add(new PropertyDescriptor("module", ELFrameTag.class,
52 null, "setModuleExpr"));
53 } catch (IntrospectionException ex) {
54 }
55
56 try {
57 proplist.add(new PropertyDescriptor("anchor", ELFrameTag.class,
58 null, "setAnchorExpr"));
59 } catch (IntrospectionException ex) {
60 }
61
62 try {
63 proplist.add(new PropertyDescriptor("bundle", ELFrameTag.class,
64 null, "setBundleExpr"));
65 } catch (IntrospectionException ex) {
66 }
67
68 try {
69 proplist.add(new PropertyDescriptor("forward", ELFrameTag.class,
70 null, "setForwardExpr"));
71 } catch (IntrospectionException ex) {
72 }
73
74 try {
75 proplist.add(new PropertyDescriptor("frameborder",
76 ELFrameTag.class, null, "setFrameborderExpr"));
77 } catch (IntrospectionException ex) {
78 }
79
80 try {
81 proplist.add(new PropertyDescriptor("frameName", ELFrameTag.class,
82 null, "setFrameNameExpr"));
83 } catch (IntrospectionException ex) {
84 }
85
86 try {
87 proplist.add(new PropertyDescriptor("href", ELFrameTag.class, null,
88 "setHrefExpr"));
89 } catch (IntrospectionException ex) {
90 }
91
92 try {
93 proplist.add(new PropertyDescriptor("longdesc", ELFrameTag.class,
94 null, "setLongdescExpr"));
95 } catch (IntrospectionException ex) {
96 }
97
98 try {
99 proplist.add(new PropertyDescriptor("marginheight",
100 ELFrameTag.class, null, "setMarginheightExpr"));
101 } catch (IntrospectionException ex) {
102 }
103
104 try {
105 proplist.add(new PropertyDescriptor("marginwidth",
106 ELFrameTag.class, null, "setMarginwidthExpr"));
107 } catch (IntrospectionException ex) {
108 }
109
110 try {
111 proplist.add(new PropertyDescriptor("name", ELFrameTag.class, null,
112 "setNameExpr"));
113 } catch (IntrospectionException ex) {
114 }
115
116 try {
117 proplist.add(new PropertyDescriptor("noresize", ELFrameTag.class,
118 null, "setNoresizeExpr"));
119 } catch (IntrospectionException ex) {
120 }
121
122 try {
123 proplist.add(new PropertyDescriptor("page", ELFrameTag.class, null,
124 "setPageExpr"));
125 } catch (IntrospectionException ex) {
126 }
127
128 try {
129 proplist.add(new PropertyDescriptor("paramId", ELFrameTag.class,
130 null, "setParamIdExpr"));
131 } catch (IntrospectionException ex) {
132 }
133
134 try {
135 proplist.add(new PropertyDescriptor("paramName", ELFrameTag.class,
136 null, "setParamNameExpr"));
137 } catch (IntrospectionException ex) {
138 }
139
140 try {
141 proplist.add(new PropertyDescriptor("paramProperty",
142 ELFrameTag.class, null, "setParamPropertyExpr"));
143 } catch (IntrospectionException ex) {
144 }
145
146 try {
147 proplist.add(new PropertyDescriptor("paramScope", ELFrameTag.class,
148 null, "setParamScopeExpr"));
149 } catch (IntrospectionException ex) {
150 }
151
152 try {
153 proplist.add(new PropertyDescriptor("property", ELFrameTag.class,
154 null, "setPropertyExpr"));
155 } catch (IntrospectionException ex) {
156 }
157
158 try {
159 proplist.add(new PropertyDescriptor("scope", ELFrameTag.class,
160 null, "setScopeExpr"));
161 } catch (IntrospectionException ex) {
162 }
163
164 try {
165 proplist.add(new PropertyDescriptor("scrolling", ELFrameTag.class,
166 null, "setScrollingExpr"));
167 } catch (IntrospectionException ex) {
168 }
169
170 try {
171 proplist.add(new PropertyDescriptor("style", ELFrameTag.class,
172 null, "setStyleExpr"));
173 } catch (IntrospectionException ex) {
174 }
175
176 try {
177 proplist.add(new PropertyDescriptor("styleClass", ELFrameTag.class,
178 null, "setStyleClassExpr"));
179 } catch (IntrospectionException ex) {
180 }
181
182 try {
183 proplist.add(new PropertyDescriptor("styleId", ELFrameTag.class,
184 null, "setStyleIdExpr"));
185 } catch (IntrospectionException ex) {
186 }
187
188 try {
189 proplist.add(new PropertyDescriptor("title", ELFrameTag.class,
190 null, "setTitleExpr"));
191 } catch (IntrospectionException ex) {
192 }
193
194 try {
195 proplist.add(new PropertyDescriptor("titleKey", ELFrameTag.class,
196 null, "setTitleKeyExpr"));
197 } catch (IntrospectionException ex) {
198 }
199
200 try {
201 proplist.add(new PropertyDescriptor("transaction",
202 ELFrameTag.class, null, "setTransactionExpr"));
203 } catch (IntrospectionException ex) {
204 }
205
206 PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()];
207
208 return ((PropertyDescriptor[]) proplist.toArray(result));
209 }
210 }