|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TemplateNumberModel
Numeric values in a template data model must implement this interface.
The detail messages of any TemplateModelExceptions
thrown will be included as HTML comments in the output.
TemplateScalarModel| Method Summary | |
|---|---|
long |
getAsNumber()
Returns the number's value as a long. |
| Methods inherited from interface freemarker.template.TemplateModel |
|---|
isEmpty |
| Method Detail |
|---|
long getAsNumber()
throws TemplateModelException
long.
long value of this scalar.
TemplateModelException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||