Class UberspectImpl.VelGetterImpl
java.lang.Object
org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
- All Implemented Interfaces:
VelPropertyGet
- Enclosing class:
UberspectImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the method name used to return this 'property'invocation method - called when the 'get action' should be preformed and a value returnedbooleanspecifies if this VelPropertyGet is cacheable and able to be reused for this class of object it was returned for
-
Constructor Details
-
VelGetterImpl
- Parameters:
exec-
-
-
Method Details
-
invoke
Description copied from interface:VelPropertyGetinvocation method - called when the 'get action' should be preformed and a value returned- Specified by:
invokein interfaceVelPropertyGet- Parameters:
o-- Returns:
- The resulting Object.
- Throws:
IllegalAccessExceptionInvocationTargetException- See Also:
-
isCacheable
public boolean isCacheable()Description copied from interface:VelPropertyGetspecifies if this VelPropertyGet is cacheable and able to be reused for this class of object it was returned for- Specified by:
isCacheablein interfaceVelPropertyGet- Returns:
- true if can be reused for this class, false if not
- See Also:
-
getMethodName
Description copied from interface:VelPropertyGetreturns the method name used to return this 'property'- Specified by:
getMethodNamein interfaceVelPropertyGet- Returns:
- The method name used to return this 'property'
- See Also:
-