Class UberspectImpl.VelSetterImpl
java.lang.Object
org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
- All Implemented Interfaces:
VelPropertySet
- Enclosing class:
UberspectImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturns the method name used to set this 'property'Invoke the found Set Executor.boolean
specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for
-
Constructor Details
-
VelSetterImpl
- Parameters:
setExecutor
-
-
-
Method Details
-
invoke
public Object invoke(Object o, Object value) throws IllegalAccessException, InvocationTargetException Invoke the found Set Executor.- Specified by:
invoke
in interfaceVelPropertySet
- Parameters:
o
- is the Object to invoke it on.value
- in the Value to set.- Returns:
- The resulting Object.
- Throws:
IllegalAccessException
InvocationTargetException
-
isCacheable
public boolean isCacheable()Description copied from interface:VelPropertySet
specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for- Specified by:
isCacheable
in interfaceVelPropertySet
- Returns:
- true if can be reused for this class, false if not
- See Also:
-
getMethodName
Description copied from interface:VelPropertySet
returns the method name used to set this 'property'- Specified by:
getMethodName
in interfaceVelPropertySet
- Returns:
- The method name used to set this 'property'
- See Also:
-