Package | Description |
---|---|
freemarker.core |
This package contains FreeMarker's core parsing/rendering functionality;
most casual users do not need to be aware of the classes in this package,
and can restrict their attention to the
freemarker.template
package. |
freemarker.ext.beans |
Provides model implementations that allow access to arbitrary Java objects.
|
freemarker.ext.jdom | |
freemarker.ext.jython |
Provides model implementations that allow access to arbitrary
Jython objects.
|
freemarker.ext.rhino |
Rhino (ECMAScript) support
|
freemarker.ext.servlet |
Provides a generic purpose servlet that generates dynamic response using
FreeMarker.
|
freemarker.template |
This package contains the core API's that most users will use.
|
freemarker.template.utility |
Utility classes that may be used to customize aspects of FreeMarker.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionAndSequence
Add sequence capabilities to an existing collection, or
vice versa.
|
Constructor and Description |
---|
CollectionAndSequence(TemplateCollectionModel collection) |
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 |
BeanModel.keys() |
TemplateCollectionModel |
SimpleMapModel.keys() |
TemplateCollectionModel |
BeanModel.values() |
TemplateCollectionModel |
SimpleMapModel.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.__findattr__("keys").__call__()
or object.__findattr__("keySet").__call__() . |
TemplateCollectionModel |
JythonHashModel.values()
Returns
object.__findattr__("values").__call__() . |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
RhinoScriptableModel.keys() |
TemplateCollectionModel |
RhinoScriptableModel.values() |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
HttpRequestHashModel.keys() |
TemplateCollectionModel |
HttpRequestParametersHashModel.keys() |
TemplateCollectionModel |
HttpRequestHashModel.values() |
TemplateCollectionModel |
HttpRequestParametersHashModel.values() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleCollection
A simple implementation of
TemplateCollectionModel . |
Modifier and Type | Method and Description |
---|---|
TemplateCollectionModel |
SimpleHash.keys() |
TemplateCollectionModel |
TemplateHashModelEx.keys() |
TemplateCollectionModel |
SimpleHash.values() |
TemplateCollectionModel |
TemplateHashModelEx.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 |