Static Public Member Functions | |
static boolean | setProperty (Object pObject, String pPropertyName, String pPropertyValue) throws IllegalAccessException, InvocationTargetException |
A utility class for using reflection.
Definition at line 28 of file ReflectionUtil.java.
static boolean org.apache.xmlrpc.util.ReflectionUtil.setProperty | ( | Object | pObject, |
String | pPropertyName, | ||
String | pPropertyValue | ||
) | throws IllegalAccessException, InvocationTargetException [inline, static] |
This method attempts to set a property value on a given object by calling a matching setter.
pObject | The object, on which a property is being set. |
pPropertyName | The property name. |
pPropertyValue | The property value. |
IllegalAccessException | Setting the property value failed, because invoking the setter raised an IllegalAccessException. |
InvocationTargetException | Setting the property value failed, because invoking the setter raised another exception. |
Definition at line 42 of file ReflectionUtil.java.