1 18 19 package org.apache.strutsel.taglib.logic; 20 21 import java.beans.IntrospectionException ; 22 import java.beans.PropertyDescriptor ; 23 import java.beans.SimpleBeanInfo ; 24 import java.util.ArrayList ; 25 26 39 public class ELForwardTagBeanInfo extends SimpleBeanInfo 40 { 41 public PropertyDescriptor [] getPropertyDescriptors() 42 { 43 ArrayList proplist = new ArrayList (); 44 45 try { 46 proplist.add(new PropertyDescriptor ("name", ELForwardTag.class, 47 null, "setNameExpr")); 48 } catch (IntrospectionException ex) {} 49 50 PropertyDescriptor [] result = 51 new PropertyDescriptor [proplist.size()]; 52 return ((PropertyDescriptor []) proplist.toArray(result)); 53 } 54 } 55 | Popular Tags |