Package | Description |
---|---|
freemarker.ext.beans |
The
default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates, but it can also be used in itself as a
better alternative ObjectWrapper . |
Modifier and Type | Class | Description |
---|---|---|
class |
ArrayModel |
A class that will wrap an arbitrary array into
TemplateCollectionModel
and TemplateSequenceModel interfaces. |
class |
BooleanModel |
A class that will wrap instances of
Boolean into a
TemplateBooleanModel . |
class |
CollectionModel |
A special case of
BeanModel that can wrap Java collections
and that implements the TemplateCollectionModel in order to be usable
in a <#list> block. |
class |
DateModel |
Wraps arbitrary subclass of
Date into a reflective model. |
class |
EnumerationModel |
A class that adds
TemplateModelIterator functionality to the
Enumeration interface implementers. |
class |
IteratorModel |
A class that adds
TemplateModelIterator functionality to the
Iterator interface implementers. |
class |
MapModel |
A special case of
BeanModel that adds implementation
for TemplateMethodModelEx on map objects that is a shortcut for the
Map.get() method. |
class |
NumberModel |
Wraps arbitrary subclass of
Number into a reflective model. |
class |
ResourceBundleModel |
A hash model that wraps a resource bundle.
|
class |
StringModel |
Subclass of
BeanModel that exposes the return value of the Object.toString() method through the TemplateScalarModel
interface. |