org.apache.velocity.runtime.parser.node

Class PropertyExecutor

Known Direct Subclasses:
BooleanPropertyExecutor

public class PropertyExecutor
extends AbstractExecutor

Returned the value of object property when executed.

Field Summary

protected String
methodUsed

Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor

method, rsvc

Constructor Summary

PropertyExecutor(RuntimeServices r, Class clazz, String property)

Method Summary

protected void
discover(Class clazz, String property)
Object
execute(Object o, InternalContextAdapter context)
Execute method against context.

Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor

execute, isAlive

Field Details

methodUsed

protected String methodUsed

Constructor Details

PropertyExecutor

public PropertyExecutor(RuntimeServices r,
                        Class clazz,
                        String property)

Method Details

discover

protected void discover(Class clazz,
                        String property)


execute

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


Copyright © 2003 Apache Software Foundation. All Rights Reserved.