org.apache.commons.jexl.util

Class PropertyExecutor

public class PropertyExecutor extends AbstractExecutor

Returned the value of object property when executed.

Since: 1.0

Field Summary
protected Introspectorintrospector
The JEXL introspector used.
protected StringmethodUsed
The method used.
Constructor Summary
PropertyExecutor(Log r, Introspector ispctr, Class clazz, String property)
Constructor.
Method Summary
protected voiddiscover(Class clazz, String property)
Locate the getter method for this property.
Objectexecute(Object o)

Field Detail

introspector

protected Introspector introspector
The JEXL introspector used.

methodUsed

protected String methodUsed
The method used.

Constructor Detail

PropertyExecutor

public PropertyExecutor(Log r, Introspector ispctr, Class clazz, String property)
Constructor.

Parameters: r The log for this property executor instance. ispctr The JEXL introspector. clazz The class being examined. property The property being addressed.

Method Detail

discover

protected void discover(Class clazz, String property)
Locate the getter method for this property.

Parameters: clazz The class being analyzed. property Name of the property.

execute

public Object execute(Object o)
{@inheritDoc }
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.