Class MapGetExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
org.apache.velocity.runtime.parser.node.MapGetExecutor
GetExecutor that is smart about Maps. If it detects one, it does not
use Reflection but a cast to access the getter.
- Since:
- 1.5
- Version:
- $Id$
- Author:
- Henning P. Schmiedehausen
-
Field Summary
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
setMethod
-
Constructor Details
-
MapGetExecutor
-
-
Method Details
-
getMethod
- Overrides:
getMethod
in classAbstractExecutor
- Returns:
- The current method.
-
isAlive
public boolean isAlive()Description copied from class:AbstractExecutor
Tell whether the executor is alive by looking at the value of the method.- Overrides:
isAlive
in classAbstractExecutor
- Returns:
- True if executor is alive.
-
discover
-
execute
Description copied from class:AbstractExecutor
Execute method against context.- Specified by:
execute
in classAbstractExecutor
- Parameters:
o
-- Returns:
- The resulting object.
-