|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.util.ReflectionUtil
public class ReflectionUtil
A utility class for using reflection.
Constructor Summary | |
---|---|
ReflectionUtil()
|
Method Summary | |
---|---|
static boolean |
setProperty(java.lang.Object pObject,
java.lang.String pPropertyName,
java.lang.String pPropertyValue)
This method attempts to set a property value on a given object by calling a matching setter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectionUtil()
Method Detail |
---|
public static boolean setProperty(java.lang.Object pObject, java.lang.String pPropertyName, java.lang.String pPropertyValue) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
pObject
- The object, on which a property is being set.pPropertyName
- The property name.pPropertyValue
- The property value.
java.lang.IllegalAccessException
- Setting the property value failed, because invoking
the setter raised an IllegalAccessException
.
java.lang.reflect.InvocationTargetException
- Setting the property value failed, because invoking
the setter raised another exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |