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 TemplateCollectionModelstatic TemplateHashModelExstatic TemplateHashModelEx2static TemplateModelIteratorstatic TemplateSequenceModelstatic TemplateScalarModelstatic TemplateBooleanModelstatic TemplateNumberModelstatic TemplateNumberModelstatic TemplateBooleanModelstatic 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()
-