org.apache.velocity.runtime.parser.node
Class AbstractExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
public abstract class AbstractExecutor
extends java.lang.Object
Abstract class that is used to execute an arbitrary
method that is in introspected. This is the superclass
for the GetExecutor and PropertyExecutor.
Version:
- Jason van Zyl
- Geir Magnusson Jr.
Object | execute(Object o) - Execute method against context.
|
Method | getMethod()
|
boolean | isAlive() - Tell whether the executor is alive by looking
at the value of the method.
|
method
protected Method method
Method to be executed.
execute
public Object execute(Object o)
throws IllegalAccessException,
InvocationTargetException
Execute method against context.
getMethod
public Method getMethod()
isAlive
public boolean isAlive()
Tell whether the executor is alive by looking
at the value of the method.
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.