Class GetExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
org.apache.velocity.runtime.parser.node.GetExecutor
Executor that simply tries to execute a get(key)
operation. This will try to find a get(key) method
for any type of object, not just objects that
implement the Map interface as was previously
the case.
- Version:
- $Id: GetExecutor.java 687177 2008-08-19 22:00:32Z nbubna $
-
Field Summary
FieldsFields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
-
Constructor Summary
ConstructorsConstructorDescriptionGetExecutor
(Log log, Introspector introspector, Class clazz, String property) GetExecutor
(RuntimeLogger rlog, Introspector introspector, Class clazz, String property) Deprecated.RuntimeLogger is deprecated. -
Method Summary
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
getMethod, isAlive, setMethod
-
Field Details
-
introspector
-
params
-
-
Constructor Details
-
GetExecutor
- Parameters:
log
-introspector
-clazz
-property
-- Since:
- 1.5
-
GetExecutor
Deprecated.RuntimeLogger is deprecated. Use the other constructor.- Parameters:
rlog
-introspector
-clazz
-property
-
-
-
Method Details
-
discover
- Since:
- 1.5
-
execute
Description copied from class:AbstractExecutor
Execute method against context.- Specified by:
execute
in classAbstractExecutor
- Returns:
- The resulting object.
- Throws:
IllegalAccessException
InvocationTargetException
- See Also:
-