public class ConstantBoolean extends ConstantExpression
Modifier and Type | Field and Description |
---|---|
static ConstantBoolean |
FALSE
Represents
Boolean.FALSE . |
static ConstantBoolean |
TRUE
Represents
Boolean.TRUE . |
Modifier and Type | Method and Description |
---|---|
Object |
eval(LocalRenderContext ctx)
Evaluates the expression into an object using the given context.
|
Class<?> |
getType()
Returns the Java class of the objects yielded by this expression.
|
String |
toString() |
copy, isConstant, propagateVisitor, reduce
public static final ConstantBoolean TRUE
Boolean.TRUE
.public static final ConstantBoolean FALSE
Boolean.FALSE
.public Object eval(LocalRenderContext ctx)
Expression
ctx
- the current rendering contextpublic Class<?> getType()
Expression
Copyright © 2018. All rights reserved.