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 39 public class ELLinkTagBeanInfo extends SimpleBeanInfo 40 { 41 public PropertyDescriptor [] getPropertyDescriptors() 42 { 43 ArrayList proplist = new ArrayList (); 44 45 try { 46 proplist.add(new PropertyDescriptor ("accesskey", ELLinkTag.class, 47 null, "setAccesskeyExpr")); 48 } catch (IntrospectionException ex) {} 49 try { 50 proplist.add(new PropertyDescriptor ("action", ELLinkTag.class, 51 null, "setActionExpr")); 52 } catch (IntrospectionException ex) {} 53 try { 54 proplist.add(new PropertyDescriptor ("module", ELLinkTag.class, 55 null, "setModuleExpr")); 56 } catch (IntrospectionException ex) {} 57 try { 58 proplist.add(new PropertyDescriptor ("anchor", ELLinkTag.class, 59 null, "setAnchorExpr")); 60 } catch (IntrospectionException ex) {} 61 try { 62 proplist.add(new PropertyDescriptor ("bundle", ELLinkTag.class, 63 null, "setBundleExpr")); 64 } catch (IntrospectionException ex) {} 65 try { 66 proplist.add(new PropertyDescriptor ("forward", ELLinkTag.class, 67 null, "setForwardExpr")); 68 } catch (IntrospectionException ex) {} 69 try { 70 proplist.add(new PropertyDescriptor ("href", ELLinkTag.class, 71 null, "setHrefExpr")); 72 } catch (IntrospectionException ex) {} 73 try { 74 proplist.add(new PropertyDescriptor ("indexed", ELLinkTag.class, 75 null, "setIndexedExpr")); 76 } catch (IntrospectionException ex) {} 77 try { 78 proplist.add(new PropertyDescriptor ("indexId", ELLinkTag.class, 79 null, "setIndexIdExpr")); 80 } catch (IntrospectionException ex) {} 81 try { 82 proplist.add(new PropertyDescriptor ("linkName", ELLinkTag.class, 83 null, "setLinkNameExpr")); 84 } catch (IntrospectionException ex) {} 85 try { 86 proplist.add(new PropertyDescriptor ("name", ELLinkTag.class, 87 null, "setNameExpr")); 88 } catch (IntrospectionException ex) {} 89 try { 90 proplist.add(new PropertyDescriptor ("onblur", ELLinkTag.class, 91 null, "setOnblurExpr")); 92 } catch (IntrospectionException ex) {} 93 try { 94 proplist.add(new PropertyDescriptor ("onclick", ELLinkTag.class, 95 null, "setOnclickExpr")); 96 } catch (IntrospectionException ex) {} 97 try { 98 proplist.add(new PropertyDescriptor ("ondblclick", ELLinkTag.class, 99 null, "setOndblclickExpr")); 100 } catch (IntrospectionException ex) {} 101 try { 102 proplist.add(new PropertyDescriptor ("onfocus", ELLinkTag.class, 103 null, "setOnfocusExpr")); 104 } catch (IntrospectionException ex) {} 105 try { 106 proplist.add(new PropertyDescriptor ("onkeydown", ELLinkTag.class, 107 null, "setOnkeydownExpr")); 108 } catch (IntrospectionException ex) {} 109 try { 110 proplist.add(new PropertyDescriptor ("onkeypress", ELLinkTag.class, 111 null, "setOnkeypressExpr")); 112 } catch (IntrospectionException ex) {} 113 try { 114 proplist.add(new PropertyDescriptor ("onkeyup", ELLinkTag.class, 115 null, "setOnkeyupExpr")); 116 } catch (IntrospectionException ex) {} 117 try { 118 proplist.add(new PropertyDescriptor ("onmousedown", ELLinkTag.class, 119 null, "setOnmousedownExpr")); 120 } catch (IntrospectionException ex) {} 121 try { 122 proplist.add(new PropertyDescriptor ("onmousemove", ELLinkTag.class, 123 null, "setOnmousemoveExpr")); 124 } catch (IntrospectionException ex) {} 125 try { 126 proplist.add(new PropertyDescriptor ("onmouseout", ELLinkTag.class, 127 null, "setOnmouseoutExpr")); 128 } catch (IntrospectionException ex) {} 129 try { 130 proplist.add(new PropertyDescriptor ("onmouseover", ELLinkTag.class, 131 null, "setOnmouseoverExpr")); 132 } catch (IntrospectionException ex) {} 133 try { 134 proplist.add(new PropertyDescriptor ("onmouseup", ELLinkTag.class, 135 null, "setOnmouseupExpr")); 136 } catch (IntrospectionException ex) {} 137 try { 138 proplist.add(new PropertyDescriptor ("page", ELLinkTag.class, 139 null, "setPageExpr")); 140 } catch (IntrospectionException ex) {} 141 try { 142 proplist.add(new PropertyDescriptor ("paramId", ELLinkTag.class, 143 null, "setParamIdExpr")); 144 } catch (IntrospectionException ex) {} 145 try { 146 proplist.add(new PropertyDescriptor ("paramName", ELLinkTag.class, 147 null, "setParamNameExpr")); 148 } catch (IntrospectionException ex) {} 149 try { 150 proplist.add(new PropertyDescriptor ("paramProperty", ELLinkTag.class, 151 null, "setParamPropertyExpr")); 152 } catch (IntrospectionException ex) {} 153 try { 154 proplist.add(new PropertyDescriptor ("paramScope", ELLinkTag.class, 155 null, "setParamScopeExpr")); 156 } catch (IntrospectionException ex) {} 157 try { 158 proplist.add(new PropertyDescriptor ("property", ELLinkTag.class, 159 null, "setPropertyExpr")); 160 } catch (IntrospectionException ex) {} 161 try { 162 proplist.add(new PropertyDescriptor ("scope", ELLinkTag.class, 163 null, "setScopeExpr")); 164 } catch (IntrospectionException ex) {} 165 try { 166 proplist.add(new PropertyDescriptor ("style", ELLinkTag.class, 167 null, "setStyleExpr")); 168 } catch (IntrospectionException ex) {} 169 try { 170 proplist.add(new PropertyDescriptor ("styleClass", ELLinkTag.class, 171 null, "setStyleClassExpr")); 172 } catch (IntrospectionException ex) {} 173 try { 174 proplist.add(new PropertyDescriptor ("styleId", ELLinkTag.class, 175 null, "setStyleIdExpr")); 176 } catch (IntrospectionException ex) {} 177 try { 178 proplist.add(new PropertyDescriptor ("tabindex", ELLinkTag.class, 179 null, "setTabindexExpr")); 180 } catch (IntrospectionException ex) {} 181 try { 182 proplist.add(new PropertyDescriptor ("target", ELLinkTag.class, 183 null, "setTargetExpr")); 184 } catch (IntrospectionException ex) {} 185 try { 186 proplist.add(new PropertyDescriptor ("title", ELLinkTag.class, 187 null, "setTitleExpr")); 188 } catch (IntrospectionException ex) {} 189 try { 190 proplist.add(new PropertyDescriptor ("titleKey", ELLinkTag.class, 191 null, "setTitleKeyExpr")); 192 } catch (IntrospectionException ex) {} 193 try { 194 proplist.add(new PropertyDescriptor ("transaction", ELLinkTag.class, 195 null, "setTransactionExpr")); 196 } catch (IntrospectionException ex) {} 197 try { 198 proplist.add(new PropertyDescriptor ("useLocalEncoding", ELLinkTag.class, 199 null, "setUseLocalEncodingExpr")); 200 } catch (IntrospectionException ex) {} 201 202 PropertyDescriptor [] result = 203 new PropertyDescriptor [proplist.size()]; 204 return ((PropertyDescriptor []) proplist.toArray(result)); 205 } 206 } 207 | Popular Tags |