freemarker.template
public interface TemplateScalarModel extends TemplateModel
TemplateStringModel
. The bad name was inherited from the
ancient times, when there was only 1 kind of scalars in FreeMarker.)Modifier and Type | Field and Description |
---|---|
static TemplateModel |
EMPTY_STRING
A constant value to use as the empty string.
|
NOTHING
Modifier and Type | Method and Description |
---|---|
String |
getAsString()
Returns the string representation of this model.
|
static final TemplateModel EMPTY_STRING
String getAsString() throws TemplateModelException
TemplateModelException