org.apache.commons.jexl.util

Class BooleanPropertyExecutor

public class BooleanPropertyExecutor extends PropertyExecutor

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

Since: 1.0

Version: $Id: BooleanPropertyExecutor.java 398171 2006-04-29 14:57:29Z dion $

Constructor Summary
BooleanPropertyExecutor(Log rlog, Introspector is, Class clazz, String property)
Constructor.
Method Summary
protected voiddiscover(Class clazz, String property)
Locate the getter method for this boolean property.

Constructor Detail

BooleanPropertyExecutor

public BooleanPropertyExecutor(Log rlog, Introspector is, Class clazz, String property)
Constructor.

Parameters: rlog The instance log. is The JEXL introspector. clazz The class being analyzed. property The boolean property.

Method Detail

discover

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

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

Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.