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, reducepublic static final ConstantBoolean TRUE
Boolean.TRUE.public static final ConstantBoolean FALSE
Boolean.FALSE.public Object eval(LocalRenderContext ctx)
Expressionctx - the current rendering contextpublic Class<?> getType()
ExpressionCopyright © 2018. All rights reserved.