org.apache.velocity.runtime.parser.node
Class PropertyExecutor

java.lang.Object
  |
  +--org.apache.velocity.runtime.parser.node.AbstractExecutor
        |
        +--org.apache.velocity.runtime.parser.node.PropertyExecutor
Direct Known Subclasses:
BooleanPropertyExecutor

public class PropertyExecutor
extends AbstractExecutor

Returned the value of object property when executed.


Field Summary
protected  java.lang.String methodUsed
           
 
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
method, rsvc
 
Constructor Summary
PropertyExecutor(RuntimeServices r, java.lang.Class clazz, java.lang.String property)
           
 
Method Summary
protected  void discover(java.lang.Class clazz, java.lang.String property)
           
 java.lang.Object execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
isAlive
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

methodUsed

protected java.lang.String methodUsed
Constructor Detail

PropertyExecutor

public PropertyExecutor(RuntimeServices r,
                        java.lang.Class clazz,
                        java.lang.String property)
Method Detail

discover

protected void discover(java.lang.Class clazz,
                        java.lang.String property)

execute

public java.lang.Object execute(java.lang.Object o,
                                InternalContextAdapter context)
                         throws java.lang.IllegalAccessException,
                                MethodInvocationException
Execute method against context.
Overrides:
execute in class AbstractExecutor


Copyright © 2003 Apache Software Foundation. All Rights Reserved.