org.apache.velocity.runtime.parser.node
Class SetExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.SetExecutor
- Direct Known Subclasses:
- PutExecutor, SetPropertyExecutor
- public abstract class SetExecutor
- extends Object
Abstract class that is used to execute an arbitrary
method that is in introspected. This is the superclass
for the PutExecutor and SetPropertyExecutor.
There really should be a superclass for this and AbstractExecutor (which should
be refactored to GetExecutor) because they differ only in the execute() method.
- Version:
- $Id: SetExecutor.java 440737 2006-09-06 15:37:44Z henning $
- Author:
- Jason van Zyl, Geir Magnusson Jr., Henning P. Schmiedehausen
Field Summary |
protected Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Log log
SetExecutor
public SetExecutor()
execute
public abstract Object execute(Object o,
Object value)
throws IllegalAccessException,
InvocationTargetException
- Execute method against context.
- Throws:
IllegalAccessException
InvocationTargetException
isAlive
public boolean isAlive()
- Tell whether the executor is alive by looking
at the value of the method.
getMethod
public Method getMethod()
setMethod
protected void setMethod(Method method)
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.