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 191743 2005-06-21 23:22:20Z dlr $
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetExecutor
public GetExecutor(Introspector ispect,
Class c,
String key)
throws Exception
- Default constructor.
- Throws:
Exception
execute
public Object execute(Object o)
throws IllegalAccessException,
InvocationTargetException
- Execute method against context.
- Specified by:
execute
in class AbstractExecutor
- Throws:
IllegalAccessException
InvocationTargetException
OLDexecute
public Object OLDexecute(Object o,
InternalContextAdapter context)
throws IllegalAccessException,
MethodInvocationException
- Execute method against context.
- Throws:
IllegalAccessException
MethodInvocationException
Copyright © 2002 Apache Software Foundation. All Rights Reserved.