Class UberspectImpl.VelGetterImpl
- java.lang.Object
-
- org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl
-
- All Implemented Interfaces:
VelPropertyGet
- Enclosing class:
- UberspectImpl
public static class UberspectImpl.VelGetterImpl extends java.lang.Object implements VelPropertyGet
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AbstractExecutor
getExecutor
-
Constructor Summary
Constructors Modifier Constructor Description private
VelGetterImpl()
VelGetterImpl(AbstractExecutor exec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMethodName()
returns the method name used to return this 'property'java.lang.Object
invoke(java.lang.Object o)
invocation method - called when the 'get action' should be preformed and a value returnedboolean
isCacheable()
specifies if this VelPropertyGet is cacheable and able to be reused for this class of object it was returned for
-
-
-
Field Detail
-
getExecutor
final AbstractExecutor getExecutor
-
-
Constructor Detail
-
VelGetterImpl
public VelGetterImpl(AbstractExecutor exec)
- Parameters:
exec
-
-
VelGetterImpl
private VelGetterImpl()
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object o) throws java.lang.Exception
Description copied from interface:VelPropertyGet
invocation method - called when the 'get action' should be preformed and a value returned- Specified by:
invoke
in interfaceVelPropertyGet
- Returns:
- The resulting Object.
- Throws:
java.lang.Exception
- See Also:
VelPropertyGet.invoke(java.lang.Object)
-
isCacheable
public boolean isCacheable()
Description copied from interface:VelPropertyGet
specifies if this VelPropertyGet is cacheable and able to be reused for this class of object it was returned for- Specified by:
isCacheable
in interfaceVelPropertyGet
- Returns:
- true if can be reused for this class, false if not
- See Also:
VelPropertyGet.isCacheable()
-
getMethodName
public java.lang.String getMethodName()
Description copied from interface:VelPropertyGet
returns the method name used to return this 'property'- Specified by:
getMethodName
in interfaceVelPropertyGet
- Returns:
- The method name used to return this 'property'
- See Also:
VelPropertyGet.getMethodName()
-
-