1 18 19 package org.apache.strutsel.taglib.tiles; 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 ELUseAttributeTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("id", ELUseAttributeTag.class, 40 null, "setIdExpr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("classname", ELUseAttributeTag.class, 44 null, "setClassnameExpr")); 45 } catch (IntrospectionException ex) {} 46 try { 47 proplist.add(new PropertyDescriptor ("scope", ELUseAttributeTag.class, 48 null, "setScopeExpr")); 49 } catch (IntrospectionException ex) {} 50 try { 51 proplist.add(new PropertyDescriptor ("name", ELUseAttributeTag.class, 52 null, "setNameExpr")); 53 } catch (IntrospectionException ex) {} 54 try { 55 proplist.add(new PropertyDescriptor ("ignore", ELUseAttributeTag.class, 56 null, "setIgnoreExpr")); 57 } catch (IntrospectionException ex) {} 58 59 PropertyDescriptor [] result = 60 new PropertyDescriptor [proplist.size()]; 61 return ((PropertyDescriptor []) proplist.toArray(result)); 62 } 63 } 64 | Popular Tags |