Package freemarker.template.utility
Class Constants
- java.lang.Object
-
- freemarker.template.utility.Constants
-
public class Constants extends Object
Frequently used constantTemplateModelvalues.These constants should be stored in the
TemplateModelsub-interfaces, but for bacward compatibility they are stored here instead. Starting from FreeMarker 2.4 they should be copyed (not moved!) into theTemplateModelsub-interfaces, and this class should be marked as deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static TemplateCollectionModelEMPTY_COLLECTIONstatic TemplateHashModelExEMPTY_HASHstatic TemplateModelIteratorEMPTY_ITERATORstatic TemplateSequenceModelEMPTY_SEQUENCEstatic TemplateScalarModelEMPTY_STRINGstatic TemplateBooleanModelFALSEstatic TemplateNumberModelMINUS_ONEstatic TemplateNumberModelONEstatic TemplateBooleanModelTRUEstatic TemplateNumberModelZERO
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
TRUE
public static final TemplateBooleanModel TRUE
-
FALSE
public static final TemplateBooleanModel FALSE
-
EMPTY_STRING
public static final TemplateScalarModel EMPTY_STRING
-
ZERO
public static final TemplateNumberModel ZERO
-
ONE
public static final TemplateNumberModel ONE
-
MINUS_ONE
public static final TemplateNumberModel MINUS_ONE
-
EMPTY_ITERATOR
public static final TemplateModelIterator EMPTY_ITERATOR
-
EMPTY_COLLECTION
public static final TemplateCollectionModel EMPTY_COLLECTION
-
EMPTY_SEQUENCE
public static final TemplateSequenceModel EMPTY_SEQUENCE
-
EMPTY_HASH
public static final TemplateHashModelEx EMPTY_HASH
-
-