1 18 19 package org.apache.strutsel.taglib.html; 20 21 import java.beans.PropertyDescriptor ; 22 import java.beans.IntrospectionException ; 23 import java.util.ArrayList ; 24 import java.beans.SimpleBeanInfo ; 25 26 32 public class ELImgTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("action", ELImgTag.class, 40 null, "setActionExpr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("module", ELImgTag.class, 44 null, "setModuleExpr")); 45 } catch (IntrospectionException ex) {} 46 try { 47 proplist.add(new PropertyDescriptor ("align", ELImgTag.class, 48 null, "setAlignExpr")); 49 } catch (IntrospectionException ex) {} 50 try { 51 proplist.add(new PropertyDescriptor ("alt", ELImgTag.class, 52 null, "setAltExpr")); 53 } catch (IntrospectionException ex) {} 54 try { 55 proplist.add(new PropertyDescriptor ("altKey", ELImgTag.class, 56 null, "setAltKeyExpr")); 57 } catch (IntrospectionException ex) {} 58 try { 59 proplist.add(new PropertyDescriptor ("border", ELImgTag.class, 60 null, "setBorderExpr")); 61 } catch (IntrospectionException ex) {} 62 try { 63 proplist.add(new PropertyDescriptor ("bundle", ELImgTag.class, 64 null, "setBundleExpr")); 65 } catch (IntrospectionException ex) {} 66 try { 67 proplist.add(new PropertyDescriptor ("contextRelative", ELImgTag.class, 68 null, "setContextRelativeExpr")); 69 } catch (IntrospectionException ex) {} 70 try { 71 proplist.add(new PropertyDescriptor ("height", ELImgTag.class, 72 null, "setHeightExpr")); 73 } catch (IntrospectionException ex) {} 74 try { 75 proplist.add(new PropertyDescriptor ("hspace", ELImgTag.class, 76 null, "setHspaceExpr")); 77 } catch (IntrospectionException ex) {} 78 try { 79 proplist.add(new PropertyDescriptor ("imageName", ELImgTag.class, 80 null, "setImageNameExpr")); 81 } catch (IntrospectionException ex) {} 82 try { 83 proplist.add(new PropertyDescriptor ("ismap", ELImgTag.class, 84 null, "setIsmapExpr")); 85 } catch (IntrospectionException ex) {} 86 try { 87 proplist.add(new PropertyDescriptor ("locale", ELImgTag.class, 88 null, "setLocaleExpr")); 89 } catch (IntrospectionException ex) {} 90 try { 91 proplist.add(new PropertyDescriptor ("lowsrc", ELImgTag.class, 92 null, "setLowsrcExpr")); 93 } catch (IntrospectionException ex) {} 94 try { 95 proplist.add(new PropertyDescriptor ("name", ELImgTag.class, 96 null, "setNameExpr")); 97 } catch (IntrospectionException ex) {} 98 try { 99 proplist.add(new PropertyDescriptor ("onclick", ELImgTag.class, 100 null, "setOnclickExpr")); 101 } catch (IntrospectionException ex) {} 102 try { 103 proplist.add(new PropertyDescriptor ("ondblclick", ELImgTag.class, 104 null, "setOndblclickExpr")); 105 } catch (IntrospectionException ex) {} 106 try { 107 proplist.add(new PropertyDescriptor ("onkeydown", ELImgTag.class, 108 null, "setOnkeydownExpr")); 109 } catch (IntrospectionException ex) {} 110 try { 111 proplist.add(new PropertyDescriptor ("onkeypress", ELImgTag.class, 112 null, "setOnkeypressExpr")); 113 } catch (IntrospectionException ex) {} 114 try { 115 proplist.add(new PropertyDescriptor ("onkeyup", ELImgTag.class, 116 null, "setOnkeyupExpr")); 117 } catch (IntrospectionException ex) {} 118 try { 119 proplist.add(new PropertyDescriptor ("onmousedown", ELImgTag.class, 120 null, "setOnmousedownExpr")); 121 } catch (IntrospectionException ex) {} 122 try { 123 proplist.add(new PropertyDescriptor ("onmousemove", ELImgTag.class, 124 null, "setOnmousemoveExpr")); 125 } catch (IntrospectionException ex) {} 126 try { 127 proplist.add(new PropertyDescriptor ("onmouseout", ELImgTag.class, 128 null, "setOnmouseoutExpr")); 129 } catch (IntrospectionException ex) {} 130 try { 131 proplist.add(new PropertyDescriptor ("onmouseover", ELImgTag.class, 132 null, "setOnmouseoverExpr")); 133 } catch (IntrospectionException ex) {} 134 try { 135 proplist.add(new PropertyDescriptor ("onmouseup", ELImgTag.class, 136 null, "setOnmouseupExpr")); 137 } catch (IntrospectionException ex) {} 138 try { 139 proplist.add(new PropertyDescriptor ("paramId", ELImgTag.class, 140 null, "setParamIdExpr")); 141 } catch (IntrospectionException ex) {} 142 try { 143 proplist.add(new PropertyDescriptor ("page", ELImgTag.class, 144 null, "setPageExpr")); 145 } catch (IntrospectionException ex) {} 146 try { 147 proplist.add(new PropertyDescriptor ("pageKey", ELImgTag.class, 148 null, "setPageKeyExpr")); 149 } catch (IntrospectionException ex) {} 150 try { 151 proplist.add(new PropertyDescriptor ("paramName", ELImgTag.class, 152 null, "setParamNameExpr")); 153 } catch (IntrospectionException ex) {} 154 try { 155 proplist.add(new PropertyDescriptor ("paramProperty", ELImgTag.class, 156 null, "setParamPropertyExpr")); 157 } catch (IntrospectionException ex) {} 158 try { 159 proplist.add(new PropertyDescriptor ("paramScope", ELImgTag.class, 160 null, "setParamScopeExpr")); 161 } catch (IntrospectionException ex) {} 162 try { 163 proplist.add(new PropertyDescriptor ("property", ELImgTag.class, 164 null, "setPropertyExpr")); 165 } catch (IntrospectionException ex) {} 166 try { 167 proplist.add(new PropertyDescriptor ("scope", ELImgTag.class, 168 null, "setScopeExpr")); 169 } catch (IntrospectionException ex) {} 170 try { 171 proplist.add(new PropertyDescriptor ("src", ELImgTag.class, 172 null, "setSrcExpr")); 173 } catch (IntrospectionException ex) {} 174 try { 175 proplist.add(new PropertyDescriptor ("srcKey", ELImgTag.class, 176 null, "setSrcKeyExpr")); 177 } catch (IntrospectionException ex) {} 178 try { 179 proplist.add(new PropertyDescriptor ("style", ELImgTag.class, 180 null, "setStyleExpr")); 181 } catch (IntrospectionException ex) {} 182 try { 183 proplist.add(new PropertyDescriptor ("styleClass", ELImgTag.class, 184 null, "setStyleClassExpr")); 185 } catch (IntrospectionException ex) {} 186 try { 187 proplist.add(new PropertyDescriptor ("styleId", ELImgTag.class, 188 null, "setStyleIdExpr")); 189 } catch (IntrospectionException ex) {} 190 try { 191 proplist.add(new PropertyDescriptor ("title", ELImgTag.class, 192 null, "setTitleExpr")); 193 } catch (IntrospectionException ex) {} 194 try { 195 proplist.add(new PropertyDescriptor ("titleKey", ELImgTag.class, 196 null, "setTitleKeyExpr")); 197 } catch (IntrospectionException ex) {} 198 try { 199 proplist.add(new PropertyDescriptor ("useLocalEncoding", ELImgTag.class, 200 null, "setUseLocalEncodingExpr")); 201 } catch (IntrospectionException ex) {} 202 try { 203 proplist.add(new PropertyDescriptor ("usemap", ELImgTag.class, 204 null, "setUsemapExpr")); 205 } catch (IntrospectionException ex) {} 206 try { 207 proplist.add(new PropertyDescriptor ("vspace", ELImgTag.class, 208 null, "setVspaceExpr")); 209 } catch (IntrospectionException ex) {} 210 try { 211 proplist.add(new PropertyDescriptor ("width", ELImgTag.class, 212 null, "setWidthExpr")); 213 } catch (IntrospectionException ex) {} 214 215 PropertyDescriptor [] result = 216 new PropertyDescriptor [proplist.size()]; 217 return ((PropertyDescriptor []) proplist.toArray(result)); 218 } 219 } 220 | Popular Tags |