Package org.apache.axis.encoding
Class MethodTarget
- java.lang.Object
-
- org.apache.axis.encoding.MethodTarget
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Loglog
-
Constructor Summary
Constructors Constructor Description MethodTarget(java.lang.Object targetObject, java.lang.reflect.Method targetMethod)Construct a target whose value is set via a methodMethodTarget(java.lang.Object targetObject, java.lang.String methodName)Construct a target whose value is set via a method
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(java.lang.Object value)Set the target's value by invoking the targetMethod.
-
-
-
Constructor Detail
-
MethodTarget
public MethodTarget(java.lang.Object targetObject, java.lang.reflect.Method targetMethod)Construct a target whose value is set via a method- Parameters:
targetObject- is the object containing the value to be settargetMethod- is the Method used to set the value
-
MethodTarget
public MethodTarget(java.lang.Object targetObject, java.lang.String methodName) throws java.lang.NoSuchMethodExceptionConstruct a target whose value is set via a method- Parameters:
targetObject- is the object containing the value to be setmethodName- is the name of the Method- Throws:
java.lang.NoSuchMethodException
-
-