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.ext.rhino |
Exposes Rhino (ECMAScript) objects to templates.
|
freemarker.ext.servlet |
Servlet for legacy "Model 2" frameworks that allows using FreeMarker
templates instead of JSP as the MVC View
(see in the Manual).
|
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 |
ArrayModel
A class that will wrap an arbitrary array into
TemplateCollectionModel
and TemplateSequenceModel interfaces. |
class |
CollectionModel
A special case of
BeanModel that can wrap Java collections
and that implements the TemplateCollectionModel in order to be usable
in a <foreach> block. |
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 |
---|---|
TemplateCollectionModel |
SimpleMapModel.keys() |
TemplateCollectionModel |
BeanModel.keys() |
TemplateCollectionModel |
SimpleMapModel.values() |
TemplateCollectionModel |
BeanModel.values() |
Modifier and Type | Class and Description |
---|---|
class |
NodeListModel
Deprecated.
Use
NodeModel instead. |
Modifier and Type | Class and Description |
---|---|
class |
JythonSequenceModel
Model for Jython sequence objects (
PySequence descendants). |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
JythonHashModel.keys()
Returns either
object. |
TemplateCollectionModel |
JythonHashModel.values()
Returns
object. |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
RhinoScriptableModel.keys() |
TemplateCollectionModel |
RhinoScriptableModel.values() |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
HttpRequestParametersHashModel.keys() |
TemplateCollectionModel |
HttpRequestHashModel.keys() |
TemplateCollectionModel |
HttpRequestParametersHashModel.values() |
TemplateCollectionModel |
HttpRequestHashModel.values() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleCollection
A simple implementation of
TemplateCollectionModel . |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
TemplateHashModelEx.keys() |
TemplateCollectionModel |
SimpleHash.keys() |
TemplateCollectionModel |
TemplateHashModelEx.values() |
TemplateCollectionModel |
SimpleHash.values() |
Constructor and Description |
---|
SimpleSequence(TemplateCollectionModel tcm)
Constructs a simple sequence from the passed collection model using the
default object wrapper set in
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper) . |
Modifier and Type | Field and Description |
---|---|
static TemplateCollectionModel |
Constants.EMPTY_COLLECTION |