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 ELInitDefinitionsTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("file", ELInitDefinitionsTag.class, 40 null, "setFileExpr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("classname", ELInitDefinitionsTag.class, 44 null, "setClassnameExpr")); 45 } catch (IntrospectionException ex) {} 46 47 PropertyDescriptor [] result = 48 new PropertyDescriptor [proplist.size()]; 49 return ((PropertyDescriptor []) proplist.toArray(result)); 50 } 51 } 52 | Popular Tags |