org.apache.velocity.runtime.parser.node
Class BooleanPropertyExecutor

java.lang.Object
  extended by org.apache.velocity.runtime.parser.node.AbstractExecutor
      extended by org.apache.velocity.runtime.parser.node.PropertyExecutor
          extended by org.apache.velocity.runtime.parser.node.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 191743 2005-06-21 23:22:20Z dlr $
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
 
Constructor Summary
BooleanPropertyExecutor(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
execute
 
Methods inherited from class org.apache.velocity.runtime.parser.node.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(Introspector is,
                               Class clazz,
                               String property)
Method Detail

discover

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


Copyright © 2002 Apache Software Foundation. All Rights Reserved.