1 18 19 package org.apache.strutsel.taglib.bean; 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 ELMessageTagBeanInfo extends SimpleBeanInfo 33 { 34 public PropertyDescriptor [] getPropertyDescriptors() 35 { 36 ArrayList proplist = new ArrayList (); 37 38 try { 39 proplist.add(new PropertyDescriptor ("arg0", ELMessageTag.class, 40 null, "setArg0Expr")); 41 } catch (IntrospectionException ex) {} 42 try { 43 proplist.add(new PropertyDescriptor ("arg1", ELMessageTag.class, 44 null, "setArg1Expr")); 45 } catch (IntrospectionException ex) {} 46 try { 47 proplist.add(new PropertyDescriptor ("arg2", ELMessageTag.class, 48 null, "setArg2Expr")); 49 } catch (IntrospectionException ex) {} 50 try { 51 proplist.add(new PropertyDescriptor ("arg3", ELMessageTag.class, 52 null, "setArg3Expr")); 53 } catch (IntrospectionException ex) {} 54 try { 55 proplist.add(new PropertyDescriptor ("arg4", ELMessageTag.class, 56 null, "setArg4Expr")); 57 } catch (IntrospectionException ex) {} 58 try { 59 proplist.add(new PropertyDescriptor ("bundle", ELMessageTag.class, 60 null, "setBundleExpr")); 61 } catch (IntrospectionException ex) {} 62 try { 63 proplist.add(new PropertyDescriptor ("key", ELMessageTag.class, 64 null, "setKeyExpr")); 65 } catch (IntrospectionException ex) {} 66 try { 67 proplist.add(new PropertyDescriptor ("locale", ELMessageTag.class, 68 null, "setLocaleExpr")); 69 } catch (IntrospectionException ex) {} 70 try { 71 proplist.add(new PropertyDescriptor ("name", ELMessageTag.class, 72 null, "setNameExpr")); 73 } catch (IntrospectionException ex) {} 74 try { 75 proplist.add(new PropertyDescriptor ("property", ELMessageTag.class, 76 null, "setPropertyExpr")); 77 } catch (IntrospectionException ex) {} 78 try { 79 proplist.add(new PropertyDescriptor ("scope", ELMessageTag.class, 80 null, "setScopeExpr")); 81 } catch (IntrospectionException ex) {} 82 83 PropertyDescriptor [] result = 84 new PropertyDescriptor [proplist.size()]; 85 return ((PropertyDescriptor []) proplist.toArray(result)); 86 } 87 } 88 | Popular Tags |