|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl.util.AbstractExecutor
org.apache.commons.jexl.util.PropertyExecutor
public class PropertyExecutor
Returned the value of object property when executed.
Field Summary | |
---|---|
protected Introspector |
introspector
The JEXL introspector used. |
protected java.lang.String |
methodUsed
The method used. |
private static int |
PROPERTY_START_INDEX
index of the first character of the property. |
Fields inherited from class org.apache.commons.jexl.util.AbstractExecutor |
---|
method, rlog |
Constructor Summary | |
---|---|
PropertyExecutor(org.apache.commons.logging.Log r,
Introspector ispctr,
java.lang.Class clazz,
java.lang.String property)
Constructor. |
Method Summary | |
---|---|
protected void |
discover(java.lang.Class clazz,
java.lang.String property)
Locate the getter method for this property. |
java.lang.Object |
execute(java.lang.Object o)
Execute method against context. |
Methods inherited from class org.apache.commons.jexl.util.AbstractExecutor |
---|
getMethod, isAlive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int PROPERTY_START_INDEX
protected Introspector introspector
protected java.lang.String methodUsed
Constructor Detail |
---|
public PropertyExecutor(org.apache.commons.logging.Log r, Introspector ispctr, java.lang.Class clazz, java.lang.String property)
r
- The log for this property executor instance.ispctr
- The JEXL introspector.clazz
- The class being examined.property
- The property being addressed.Method Detail |
---|
protected void discover(java.lang.Class clazz, java.lang.String property)
clazz
- The class being analyzed.property
- Name of the property.public java.lang.Object execute(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
execute
in class AbstractExecutor
o
- The owner.
java.lang.IllegalAccessException
- Method is inaccessible.
java.lang.reflect.InvocationTargetException
- Method body throws an exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |