org.apache.velocity.runtime.parser.node
Class SetPropertyExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.SetExecutor
org.apache.velocity.runtime.parser.node.SetPropertyExecutor
- public class SetPropertyExecutor
- extends SetExecutor
Executor for looking up property names in the passed in class
This will try to find a set<foo>(key, value) method
- Version:
- $Id: SetPropertyExecutor.java 440737 2006-09-06 15:37:44Z henning $
- Author:
- Henning P. Schmiedehausen
Fields inherited from class org.apache.velocity.runtime.parser.node.SetExecutor |
log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetPropertyExecutor
public SetPropertyExecutor(Log log,
Introspector introspector,
Class clazz,
String property,
Object arg)
getIntrospector
protected Introspector getIntrospector()
discover
protected void discover(Class clazz,
String property,
Object arg)
execute
public Object execute(Object o,
Object value)
throws IllegalAccessException,
InvocationTargetException
- Execute method against context.
- Specified by:
execute
in class SetExecutor
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.