java.lang.Object
org.websody.util.ParamSetter
- public class ParamSetter
- extends java.lang.Object
Analyses a class using the reflection API and provides methods to invoke
setter methods of classes that follow the java bean design pattern.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
private static java.util.Map cache
log
private static org.apache.log4j.Category log
ParamSetter
public ParamSetter()
setProperty
public static void setProperty(java.lang.Object o,
java.lang.String name,
java.lang.String value)
throws java.beans.IntrospectionException
setProperty
public static void setProperty(java.lang.Object o,
java.lang.String name,
java.lang.String[] values)
throws java.beans.IntrospectionException
getPropertyNames
public static java.util.Iterator getPropertyNames(java.lang.Object o)
throws java.beans.IntrospectionException
getSetter
private static java.lang.reflect.Method getSetter(java.lang.Class c,
java.lang.String name)
throws java.beans.IntrospectionException
getSetterMap
private static java.util.Map getSetterMap(java.lang.Class c)
throws java.beans.IntrospectionException