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
FieldsModifier and TypeFieldDescriptionstatic final TemplateCollectionModel
static final TemplateHashModelEx
static final TemplateHashModelEx2
static final TemplateModelIterator
static final TemplateHashModelEx2.KeyValuePairIterator
static final TemplateSequenceModel
static final TemplateScalarModel
static final TemplateBooleanModel
static final TemplateNumberModel
static final TemplateNumberModel
static final TemplateBooleanModel
static final TemplateNumberModel
-
Constructor Summary
Constructors -
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()
-