Home » freemarker-2.3.13 » freemarker.template.utility » [javadoc | source]
freemarker.template.utility
public class: Constants [javadoc | source]
java.lang.Object
   freemarker.template.utility.Constants
Frequently used constant TemplateModel values.

These constants should be stored in the TemplateModel sub-interfaces, but for bacward compatibility they are stored here instead. Starting from FreeMarker 2.4 they should be copyed (not moved!) into the TemplateModel sub-interfaces, and this class should be marked as deprecated.

Field Summary
public static final  TemplateBooleanModel TRUE     
public static final  TemplateBooleanModel FALSE     
public static final  TemplateScalarModel EMPTY_STRING     
public static final  TemplateNumberModel ZERO     
public static final  TemplateNumberModel ONE     
public static final  TemplateNumberModel MINUS_ONE     
public static final  TemplateModelIterator EMPTY_ITERATOR     
public static final  TemplateCollectionModel EMPTY_COLLECTION     
public static final  TemplateSequenceModel EMPTY_SEQUENCE     
public static final  TemplateHashModelEx EMPTY_HASH     
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait