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
-
public class BooleanPropertyExecutor extends PropertyExecutor
Handles discovery and valuation of a boolean object property, of the form public boolean iswhen 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 687502 2008-08-20 23:19:52Z nbubna $
-
-
Field Summary
-
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
-
-
Constructor Summary
Constructors Constructor Description BooleanPropertyExecutor(Log log, Introspector introspector, java.lang.Class clazz, java.lang.String property)
BooleanPropertyExecutor(RuntimeLogger rlog, Introspector introspector, java.lang.Class clazz, java.lang.String property)
Deprecated.RuntimeLogger is deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
discover(java.lang.Class clazz, java.lang.String property)
-
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 Detail
-
BooleanPropertyExecutor
public BooleanPropertyExecutor(Log log, Introspector introspector, java.lang.Class clazz, java.lang.String property)
- Parameters:
log
-introspector
-clazz
-property
-- Since:
- 1.5
-
BooleanPropertyExecutor
public BooleanPropertyExecutor(RuntimeLogger rlog, Introspector introspector, java.lang.Class clazz, java.lang.String property)
Deprecated.RuntimeLogger is deprecated. Use the other constructor.- Parameters:
rlog
-introspector
-clazz
-property
-
-
-
Method Detail
-
discover
protected void discover(java.lang.Class clazz, java.lang.String property)
- Overrides:
discover
in classPropertyExecutor
-
-