Package org.apache.axis.encoding
Class MethodTarget
java.lang.Object
org.apache.axis.encoding.MethodTarget
- All Implemented Interfaces:
Target
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodTarget(Object targetObject, Method targetMethod) Construct a target whose value is set via a methodMethodTarget(Object targetObject, String methodName) Construct a target whose value is set via a method -
Method Summary
-
Field Details
-
log
protected static org.apache.commons.logging.Log log
-
-
Constructor Details
-
MethodTarget
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
Construct 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:
NoSuchMethodException
-
-
Method Details
-
set
Set the target's value by invoking the targetMethod.- Specified by:
setin interfaceTarget- Parameters:
value- is the new Object value- Throws:
SAXException
-