org.jfree.report.util.beans
Class BeanUtility
java.lang.Object
|
+--org.jfree.report.util.beans.BeanUtility
- public final class BeanUtility
- extends java.lang.Object
The BeanUtility class enables access to bean properties using the reflection
API.
- Author:
- Thomas Morgner
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BeanUtility
public BeanUtility(java.lang.Object o)
throws java.beans.IntrospectionException
getPropertyInfos
public java.beans.PropertyDescriptor[] getPropertyInfos()
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws BeanException
getPropertyAsString
public java.lang.String getPropertyAsString(java.lang.String name)
throws BeanException
setProperty
public void setProperty(java.lang.String name,
java.lang.Object o)
throws BeanException
setPropertyAsString
public void setPropertyAsString(java.lang.String name,
java.lang.String txt)
throws BeanException
getPropertyType
public java.lang.Class getPropertyType(java.lang.String name)
throws BeanException
getPropertyType
public static java.lang.Class getPropertyType(java.beans.PropertyDescriptor pd)
throws BeanException
setPropertyAsString
public void setPropertyAsString(java.lang.String name,
java.lang.Class type,
java.lang.String txt)
throws BeanException
getProperties
public java.lang.String[] getProperties()
throws BeanException