Class UberspectImpl.VelSetterImpl
- java.lang.Object
-
- org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
-
- All Implemented Interfaces:
VelPropertySet
- Enclosing class:
- UberspectImpl
public static class UberspectImpl.VelSetterImpl extends java.lang.Object implements VelPropertySet
-
-
Field Summary
Fields Modifier and Type Field Description private SetExecutorsetExecutor
-
Constructor Summary
Constructors Modifier Constructor Description privateVelSetterImpl()VelSetterImpl(SetExecutor setExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMethodName()returns the method name used to set this 'property'java.lang.Objectinvoke(java.lang.Object o, java.lang.Object value)Invoke the found Set Executor.booleanisCacheable()specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for
-
-
-
Field Detail
-
setExecutor
private final SetExecutor setExecutor
-
-
Constructor Detail
-
VelSetterImpl
public VelSetterImpl(SetExecutor setExecutor)
- Parameters:
setExecutor-
-
VelSetterImpl
private VelSetterImpl()
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object o, java.lang.Object value) throws java.lang.ExceptionInvoke the found Set Executor.- Specified by:
invokein interfaceVelPropertySet- Parameters:
o- is the Object to invoke it on.value- in the Value to set.- Returns:
- The resulting Object.
- Throws:
java.lang.Exception
-
isCacheable
public boolean isCacheable()
Description copied from interface:VelPropertySetspecifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for- Specified by:
isCacheablein interfaceVelPropertySet- Returns:
- true if can be reused for this class, false if not
- See Also:
VelPropertySet.isCacheable()
-
getMethodName
public java.lang.String getMethodName()
Description copied from interface:VelPropertySetreturns the method name used to set this 'property'- Specified by:
getMethodNamein interfaceVelPropertySet- Returns:
- The method name used to set this 'property'
- See Also:
VelPropertySet.getMethodName()
-
-