Uses of Interface
freemarker.template.TemplateDateModel
Packages that use TemplateDateModel
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration
(see also the
Getting Started in the Manual.)-
Uses of TemplateDateModel in freemarker.core
Methods in freemarker.core with parameters of type TemplateDateModelModifier and TypeMethodDescriptionTemplateDateFormat.format
(TemplateDateModel dateModel) Formats the model to markup instead of to plain text if the result markup will be more than just plain text escaped, otherwise falls back to formatting to plain text.abstract String
TemplateDateFormat.formatToPlainText
(TemplateDateModel dateModel) static Date
TemplateFormatUtil.getNonNullDate
(TemplateDateModel dateModel) Utility method to extract theDate
from anTemplateDateModel
, and throwTemplateModelException
with a standard error message if that'snull
. -
Uses of TemplateDateModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateDateModel -
Uses of TemplateDateModel in freemarker.template
Classes in freemarker.template that implement TemplateDateModelModifier and TypeClassDescriptionclass
A simple implementation of the TemplateDateModel interface.