Home » freemarker-2.3.13 » freemarker.template » [javadoc | source]
freemarker.template
public interface: TemplateBooleanModel [javadoc | source]

All Implemented Interfaces:
    TemplateModel

All Known Implementing Classes:
    JythonHashModel, JythonModel, RegexMatchModel, RhinoScriptableModel, JythonNumberModel, BooleanModel, JythonSequenceModel, GeneralPurposeNothing, RhinoFunctionModel

Objects that will be interpreted as true/false in the appropriate context must implement this interface.
Field Summary
 TemplateBooleanModel FALSE    A singleton object to represent boolean false 
 TemplateBooleanModel TRUE    A singleton object to represent boolean true 
Method from freemarker.template.TemplateBooleanModel Summary:
getAsBoolean
Method from freemarker.template.TemplateBooleanModel Detail:
 public boolean getAsBoolean() throws TemplateModelException