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 463298 2006-10-12 16:10:32Z henning $
- 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(Log log,
Introspector introspector,
Class clazz,
String property)
- Parameters:
log
- introspector
- clazz
- property
-
GetExecutor
public GetExecutor(RuntimeLogger rlog,
Introspector introspector,
Class clazz,
String property)
- Deprecated. RuntimeLogger is deprecated. Use the other constructor.
- Parameters:
rlog
- introspector
- clazz
- property
-
discover
protected void discover(Class clazz)
execute
public Object execute(Object o)
throws IllegalAccessException,
InvocationTargetException
- Description copied from class:
AbstractExecutor
- Execute method against context.
- Specified by:
execute
in class AbstractExecutor
- Returns:
- The resulting object.
- Throws:
IllegalAccessException
InvocationTargetException
- See Also:
AbstractExecutor.execute(java.lang.Object)
Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.