Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
MethodTarget(Object targetObject,
Method targetMethod)
Construct a target whose value is set via a method
|
MethodTarget(Object targetObject,
String methodName)
Construct a target whose value is set via a method
|
public MethodTarget(Object targetObject, Method targetMethod)
targetObject
- is the object containing the value to be settargetMethod
- is the Method used to set the valuepublic MethodTarget(Object targetObject, String methodName) throws NoSuchMethodException
targetObject
- is the object containing the value to be setmethodName
- is the name of the MethodNoSuchMethodException
public void set(Object value) throws SAXException
set
in interface Target
value
- is the new Object valueSAXException
Copyright © The Apache Software Foundation. All Rights Reserved.