public interface TemplateBooleanModel extends TemplateModel
true
or false
.Modifier and Type | Field and Description |
---|---|
static TemplateBooleanModel |
FALSE
A singleton object to represent boolean false
|
static TemplateBooleanModel |
TRUE
A singleton object to represent boolean true
|
NOTHING
Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean() |
static final TemplateBooleanModel FALSE
static final TemplateBooleanModel TRUE
boolean getAsBoolean() throws TemplateModelException
TemplateModelException