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 ELFrameTagBeanInfo extends SimpleBeanInfo 40 { 41 public PropertyDescriptor [] getPropertyDescriptors() 42 { 43 ArrayList proplist = new ArrayList (); 44 45 try { 46 proplist.add(new PropertyDescriptor ("action", ELFrameTag.class, 47 null, "setActionExpr")); 48 } catch (IntrospectionException ex) {} 49 try { 50 proplist.add(new PropertyDescriptor ("module", ELFrameTag.class, 51 null, "setModuleExpr")); 52 } catch (IntrospectionException ex) {} 53 try { 54 proplist.add(new PropertyDescriptor ("anchor", ELFrameTag.class, 55 null, "setAnchorExpr")); 56 } catch (IntrospectionException ex) {} 57 try { 58 proplist.add(new PropertyDescriptor ("bundle", ELFrameTag.class, 59 null, "setBundleExpr")); 60 } catch (IntrospectionException ex) {} 61 try { 62 proplist.add(new PropertyDescriptor ("forward", ELFrameTag.class, 63 null, "setForwardExpr")); 64 } catch (IntrospectionException ex) {} 65 try { 66 proplist.add(new PropertyDescriptor ("frameborder", ELFrameTag.class, 67 null, "setFrameborderExpr")); 68 } catch (IntrospectionException ex) {} 69 try { 70 proplist.add(new PropertyDescriptor ("frameName", ELFrameTag.class, 71 null, "setFrameNameExpr")); 72 } catch (IntrospectionException ex) {} 73 try { 74 proplist.add(new PropertyDescriptor ("href", ELFrameTag.class, 75 null, "setHrefExpr")); 76 } catch (IntrospectionException ex) {} 77 try { 78 proplist.add(new PropertyDescriptor ("longdesc", ELFrameTag.class, 79 null, "setLongdescExpr")); 80 } catch (IntrospectionException ex) {} 81 try { 82 proplist.add(new PropertyDescriptor ("marginheight", ELFrameTag.class, 83 null, "setMarginheightExpr")); 84 } catch (IntrospectionException ex) {} 85 try { 86 proplist.add(new PropertyDescriptor ("marginwidth", ELFrameTag.class, 87 null, "setMarginwidthExpr")); 88 } catch (IntrospectionException ex) {} 89 try { 90 proplist.add(new PropertyDescriptor ("name", ELFrameTag.class, 91 null, "setNameExpr")); 92 } catch (IntrospectionException ex) {} 93 try { 94 proplist.add(new PropertyDescriptor ("noresize", ELFrameTag.class, 95 null, "setNoresizeExpr")); 96 } catch (IntrospectionException ex) {} 97 try { 98 proplist.add(new PropertyDescriptor ("page", ELFrameTag.class, 99 null, "setPageExpr")); 100 } catch (IntrospectionException ex) {} 101 try { 102 proplist.add(new PropertyDescriptor ("paramId", ELFrameTag.class, 103 null, "setParamIdExpr")); 104 } catch (IntrospectionException ex) {} 105 try { 106 proplist.add(new PropertyDescriptor ("paramName", ELFrameTag.class, 107 null, "setParamNameExpr")); 108 } catch (IntrospectionException ex) {} 109 try { 110 proplist.add(new PropertyDescriptor ("paramProperty", ELFrameTag.class, 111 null, "setParamPropertyExpr")); 112 } catch (IntrospectionException ex) {} 113 try { 114 proplist.add(new PropertyDescriptor ("paramScope", ELFrameTag.class, 115 null, "setParamScopeExpr")); 116 } catch (IntrospectionException ex) {} 117 try { 118 proplist.add(new PropertyDescriptor ("property", ELFrameTag.class, 119 null, "setPropertyExpr")); 120 } catch (IntrospectionException ex) {} 121 try { 122 proplist.add(new PropertyDescriptor ("scope", ELFrameTag.class, 123 null, "setScopeExpr")); 124 } catch (IntrospectionException ex) {} 125 try { 126 proplist.add(new PropertyDescriptor ("scrolling", ELFrameTag.class, 127 null, "setScrollingExpr")); 128 } catch (IntrospectionException ex) {} 129 try { 130 proplist.add(new PropertyDescriptor ("style", ELFrameTag.class, 131 null, "setStyleExpr")); 132 } catch (IntrospectionException ex) {} 133 try { 134 proplist.add(new PropertyDescriptor ("styleClass", ELFrameTag.class, 135 null, "setStyleClassExpr")); 136 } catch (IntrospectionException ex) {} 137 try { 138 proplist.add(new PropertyDescriptor ("styleId", ELFrameTag.class, 139 null, "setStyleIdExpr")); 140 } catch (IntrospectionException ex) {} 141 try { 142 proplist.add(new PropertyDescriptor ("title", ELFrameTag.class, 143 null, "setTitleExpr")); 144 } catch (IntrospectionException ex) {} 145 try { 146 proplist.add(new PropertyDescriptor ("titleKey", ELFrameTag.class, 147 null, "setTitleKeyExpr")); 148 } catch (IntrospectionException ex) {} 149 try { 150 proplist.add(new PropertyDescriptor ("transaction", ELFrameTag.class, 151 null, "setTransactionExpr")); 152 } catch (IntrospectionException ex) {} 153 154 PropertyDescriptor [] result = 155 new PropertyDescriptor [proplist.size()]; 156 return ((PropertyDescriptor []) proplist.toArray(result)); 157 } 158 } 159 | Popular Tags |