Package freemarker.template.utility
Class Constants
java.lang.Object
freemarker.template.utility.Constants
Frequently used constant
TemplateModel
values.
These constants should be stored in the TemplateModel
sub-interfaces, but for backward compatibility they are stored here instead.
Starting from FreeMarker 2.4 they should be copied (not moved!) into the
TemplateModel
sub-interfaces, and this class should be marked as
deprecated.
-
Field Summary
Modifier and TypeFieldDescriptionstatic TemplateCollectionModel
static TemplateHashModelEx
static TemplateHashModelEx2
static TemplateModelIterator
static TemplateSequenceModel
static TemplateScalarModel
static TemplateBooleanModel
static TemplateNumberModel
static TemplateNumberModel
static TemplateBooleanModel
static TemplateNumberModel
-
Constructor Summary
-
Method Summary
-
Field Details
-
TRUE
-
FALSE
-
EMPTY_STRING
-
ZERO
-
ONE
-
MINUS_ONE
-
EMPTY_ITERATOR
-
EMPTY_COLLECTION
-
EMPTY_SEQUENCE
-
EMPTY_HASH_EX2
- Since:
- 2.3.30
-
EMPTY_HASH
-
EMPTY_KEY_VALUE_PAIR_ITERATOR
- Since:
- 2.3.27
-
-
Constructor Details
-
Constants
public Constants()
-