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 ELGetTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("name", ELGetTag.class, 40 null, "setNameExpr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("ignore", ELGetTag.class, 44 null, "setIgnoreExpr")); 45 } catch (IntrospectionException ex) {} 46 try { 47 proplist.add(new PropertyDescriptor ("flush", ELGetTag.class, 48 null, "setFlushExpr")); 49 } catch (IntrospectionException ex) {} 50 try { 51 proplist.add(new PropertyDescriptor ("role", ELGetTag.class, 52 null, "setRoleExpr")); 53 } catch (IntrospectionException ex) {} 54 55 PropertyDescriptor [] result = 56 new PropertyDescriptor [proplist.size()]; 57 return ((PropertyDescriptor []) proplist.toArray(result)); 58 } 59 } 60 | Popular Tags |