org.apache.commons.jexl.util
Class BooleanPropertyExecutor

java.lang.Object
  extended byorg.apache.commons.jexl.util.AbstractExecutor
      extended byorg.apache.commons.jexl.util.PropertyExecutor
          extended byorg.apache.commons.jexl.util.BooleanPropertyExecutor

public class BooleanPropertyExecutor
extends PropertyExecutor

Handles discovery and valuation of a boolean object property, of the form public boolean is when executed. We do this separately as to preserve the current quasi-broken semantics of get get< flip 1st char> get("property") and now followed by is

Version:
$Id: BooleanPropertyExecutor.java,v 1.4 2004/02/28 13:45:21 yoavs Exp $
Author:
Geir Magnusson Jr.

Field Summary
 
Fields inherited from class org.apache.commons.jexl.util.PropertyExecutor
introspector, methodUsed
 
Fields inherited from class org.apache.commons.jexl.util.AbstractExecutor
method, rlog
 
Constructor Summary
BooleanPropertyExecutor(org.apache.commons.logging.Log rlog, Introspector is, java.lang.Class clazz, java.lang.String property)
           
 
Method Summary
protected  void discover(java.lang.Class clazz, java.lang.String property)
           
 
Methods inherited from class org.apache.commons.jexl.util.PropertyExecutor
execute
 
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
 

Constructor Detail

BooleanPropertyExecutor

public BooleanPropertyExecutor(org.apache.commons.logging.Log rlog,
                               Introspector is,
                               java.lang.Class clazz,
                               java.lang.String property)
Method Detail

discover

protected void discover(java.lang.Class clazz,
                        java.lang.String property)
Overrides:
discover in class PropertyExecutor