org.apache.velocity.runtime.parser.node
Class GetExecutor
java.lang.Object
|
+--org.apache.velocity.runtime.parser.node.AbstractExecutor
|
+--org.apache.velocity.runtime.parser.node.GetExecutor
- public class GetExecutor
- extends AbstractExecutor
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,v 1.6 2001/10/22 03:53:25 jon Exp $
- Author:
- Jason van Zyl
Field Summary |
private java.lang.Object[] |
args
Container to hold the 'key' part of
get(key). |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
args
private java.lang.Object[] args
- Container to hold the 'key' part of
get(key).
GetExecutor
public GetExecutor(RuntimeServices r,
java.lang.Class c,
java.lang.String key)
throws java.lang.Exception
- Default constructor.
execute
public java.lang.Object execute(java.lang.Object o,
InternalContextAdapter context)
throws java.lang.IllegalAccessException,
MethodInvocationException
- Execute method against context.
- Overrides:
execute
in class AbstractExecutor
Copyright © 2003 Apache Software Foundation. All Rights Reserved.