freemarker.template
Interface TemplateNumberModel
- TemplateModel
- JythonNumberModel, NumberModel, RhinoFunctionModel, RhinoScriptableModel, SimpleNumber
public interface TemplateNumberModel
Numeric values in a template data model must implement this interface.
$Id: TemplateNumberModel.java,v 1.14 2004/11/27 14:49:57 ddekany Exp $
getAsNumber
public Number getAsNumber()
throws TemplateModelException
Returns the numeric value. The return value must not be null.
- the
Number
instance associated with this number model.