org.apache.velocity.runtime.parser.node

Class 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<32flip 1st char> get("property") and now followed by is

Version:
$Id: BooleanPropertyExecutor.java,v 1.3.4.1 2004/03/03 23:22:59 geirm Exp $

Author:
Geir Magnusson Jr.

Field Summary

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

introspector, methodUsed

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

method, rlog

Constructor Summary

BooleanPropertyExecutor(RuntimeLogger rlog, Introspector is, Class clazz, String property)

Method Summary

protected void
discover(Class clazz, String property)

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

discover, execute

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

execute, getMethod, isAlive

Constructor Details

BooleanPropertyExecutor

public BooleanPropertyExecutor(RuntimeLogger rlog,
                               Introspector is,
                               Class clazz,
                               String property)

Method Details

discover

protected void discover(Class clazz,
                        String property)
Overrides:
discover in interface PropertyExecutor


Copyright B) 2002 Apache Software Foundation. All Rights Reserved.