org.apache.velocity.runtime.parser.node
Class MapGetExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
org.apache.velocity.runtime.parser.node.MapGetExecutor
public class MapGetExecutor
- extends AbstractExecutor
GetExecutor that is smart about Maps. If it detects one, it does not
use Reflection but a cast to access the getter.
- Version:
- $Id: MapGetExecutor.java 463298 2006-10-12 16:10:32Z henning $
- Author:
- Henning P. Schmiedehausen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapGetExecutor
public MapGetExecutor(Log log,
Class clazz,
String property)
discover
protected void discover(Class clazz)
execute
public Object execute(Object o)
- Description copied from class:
AbstractExecutor
- Execute method against context.
- Specified by:
execute
in class AbstractExecutor
- Returns:
- The resulting object.
Copyright © 2000-2007 The Apache Software Foundation. All Rights Reserved.