freemarker.template
Interface TemplateBooleanModel
- TemplateModel
- BooleanModel, JythonHashModel, JythonModel, JythonNumberModel, JythonSequenceModel, RhinoFunctionModel, RhinoScriptableModel
public interface TemplateBooleanModel
Objects that will be interpreted as true/false in the appropriate
context must implement this interface.
$Id: TemplateBooleanModel.java,v 1.8 2003/01/12 23:40:21 revusky Exp $
getAsBoolean
public boolean getAsBoolean()
throws TemplateModelException
- whether to interpret this object as true or false in a boolean context