net.sourceforge.stripes.tag
Class HtmlTagSupportBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
net.sourceforge.stripes.tag.HtmlTagSupportBeanInfo
- All Implemented Interfaces:
- BeanInfo
public class HtmlTagSupportBeanInfo
- extends SimpleBeanInfo
Describes the properties supported by the HtmlTagSupport class which is the parent of all the
HTML Form/Input tags in Stripes. Exists to provide some flexibility in the naming of methods
and primarily to provide support for the "class" tag attribute in JSP containers that
demand a javabean compliant getter and setter method. Since getClass() is rather special in Java
and cannot (and should not) be overridden, containers may not like calling setClass(String)
without there being a corresponding getClass():String method. So the PropertyDescriptor for
the "class" property specifies the methods getCssClass() and setCssClass.
- Author:
- Tim Fennell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlTagSupportBeanInfo
public HtmlTagSupportBeanInfo()
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Generates a simple set of PropertyDescriptors for the HtmlTagSupport class.
- Specified by:
getPropertyDescriptors
in interface BeanInfo
- Overrides:
getPropertyDescriptors
in class SimpleBeanInfo
? Copyright 2005-2006, Stripes Development Team.