Static Public Member Functions
org.apache.xmlrpc.util.ReflectionUtil Class Reference

List of all members.

Static Public Member Functions

static boolean setProperty (Object pObject, String pPropertyName, String pPropertyValue) throws IllegalAccessException, InvocationTargetException

Detailed Description

A utility class for using reflection.

Definition at line 28 of file ReflectionUtil.java.


Member Function Documentation

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.

Parameters:
pObjectThe object, on which a property is being set.
pPropertyNameThe property name.
pPropertyValueThe property value.
Exceptions:
IllegalAccessExceptionSetting the property value failed, because invoking the setter raised an IllegalAccessException.
InvocationTargetExceptionSetting the property value failed, because invoking the setter raised another exception.
Returns:
Whether a matching setter was found. The value false indicates, that no such setter exists.

Definition at line 42 of file ReflectionUtil.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50