public PropertyDescriptor[] getPropertyDescriptors() {
List proplist = new ArrayList();
try
{
proplist.add(new PropertyDescriptor("cellpadding", //$NON-NLS-1$
ELTableTag.class, null, "setCellpadding")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("cellspacing", //$NON-NLS-1$
ELTableTag.class, null, "setCellspacing")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("class", //$NON-NLS-1$
ELTableTag.class, null, "setClass")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("decorator", //$NON-NLS-1$
ELTableTag.class, null, "setDecorator")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("defaultorder", //$NON-NLS-1$
ELTableTag.class, null, "setDefaultorder")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("defaultsort", //$NON-NLS-1$
ELTableTag.class, null, "setDefaultsort")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("export", //$NON-NLS-1$
ELTableTag.class, null, "setExport")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("frame", //$NON-NLS-1$
ELTableTag.class, null, "setFrame")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("length", //$NON-NLS-1$
ELTableTag.class, null, "setLength")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$
ELTableTag.class, null, "setName")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("offset", //$NON-NLS-1$
ELTableTag.class, null, "setOffset")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("pagesize", //$NON-NLS-1$
ELTableTag.class, null, "setPagesize")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("partialList", //$NON-NLS-1$
ELTableTag.class, null, "setPartialList")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("requestURI", //$NON-NLS-1$
ELTableTag.class, null, "setRequestURI")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("requestURIcontext", //$NON-NLS-1$
ELTableTag.class, null, "setRequestURIcontext")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("rules", //$NON-NLS-1$
ELTableTag.class, null, "setRules")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("size", //$NON-NLS-1$
ELTableTag.class, null, "setSize")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("sort", //$NON-NLS-1$
ELTableTag.class, null, "setSort")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("style", //$NON-NLS-1$
ELTableTag.class, null, "setStyle")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("summary", //$NON-NLS-1$
ELTableTag.class, null, "setSummary")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("excludedParams", //$NON-NLS-1$
ELTableTag.class, null, "setExcludedParams")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("id", //$NON-NLS-1$
ELTableTag.class, null, "setUid")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("uid", //$NON-NLS-1$
ELTableTag.class, null, "setUid")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("htmlId", //$NON-NLS-1$
ELTableTag.class, null, "setHtmlId")); //$NON-NLS-1$
proplist.add(new PropertyDescriptor("varTotals", //$NON-NLS-1$
TableTag.class, null, "setVarTotals")); //$NON-NLS-1$
}
catch (IntrospectionException ex)
{
throw new UnhandledException("You got an introspection exception - maybe defining a property that is not"
+ " defined in the ElTableTag?: "
+ ex.getMessage(), ex);
}
PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()];
return ((PropertyDescriptor[]) proplist.toArray(result));
}
|