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

All Implemented Interfaces:
    TemplateModel

All Known Implementing Classes:
    RhinoScriptableModel, JythonNumberModel, SimpleNumber, NumberModel, NumberLiteral, RhinoFunctionModel

Numeric values in a template data model must implement this interface.
Method from freemarker.template.TemplateNumberModel Summary:
getAsNumber
Method from freemarker.template.TemplateNumberModel Detail:
 public Number getAsNumber() throws TemplateModelException
    Returns the numeric value. The return value must not be null.