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 . |
freemarker.ext.jdom |
Deprecated, use W3C DOM (
freemarker.ext.dom ) instead;
Exposes JDOM XML nodes to templates. |
freemarker.ext.jython |
Exposes Jython objects to templates.
|
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (also see
Getting Stared in the Manual.) |
freemarker.template.utility |
Various classes used by core FreeMarker code but might be useful outside of it too.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
TemplateModelIterator |
IteratorModel.iterator()
This allows the iterator to be used in a <foreach> block.
|
TemplateModelIterator |
EnumerationModel.iterator()
This allows the enumeration to be used in a <foreach> block.
|
TemplateModelIterator |
CollectionModel.iterator() |
TemplateModelIterator |
ArrayModel.iterator() |
Modifier and Type | Method and Description |
---|---|
TemplateModelIterator |
NodeListModel.iterator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TemplateModelIterator |
JythonSequenceModel.iterator() |
Modifier and Type | Method and Description |
---|---|
TemplateModelIterator |
TemplateCollectionModel.iterator()
Retrieves a template model iterator that is used to iterate over
the elements in this collection.
|
TemplateModelIterator |
SimpleCollection.iterator()
Retrieves a template model iterator that is used to iterate over the elements in this collection.
|
Modifier and Type | Field and Description |
---|---|
static TemplateModelIterator |
Constants.EMPTY_ITERATOR |