Class BooleanPropertyExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
org.apache.velocity.runtime.parser.node.PropertyExecutor
org.apache.velocity.runtime.parser.node.BooleanPropertyExecutor
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>
- Version:
- $Id$
- Author:
- Geir Magnusson Jr.
-
Field Summary
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanPropertyExecutor
(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property) BooleanPropertyExecutor
(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property, boolean wrapArray) -
Method Summary
Methods inherited from class org.apache.velocity.runtime.parser.node.PropertyExecutor
execute, getIntrospector
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
getMethod, isAlive, setMethod
-
Constructor Details
-
BooleanPropertyExecutor
public BooleanPropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property) - Parameters:
log
-introspector
-clazz
-property
-- Since:
- 1.5
-
BooleanPropertyExecutor
public BooleanPropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property, boolean wrapArray) - Parameters:
log
-introspector
-clazz
-property
-wrapArray
-- Since:
- 1.5
-
-
Method Details
-
discover
- Overrides:
discover
in classPropertyExecutor
- Parameters:
clazz
-property
-
-