Package | Description |
---|---|
freemarker.ext.beans |
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
|
freemarker.ext.dom |
Exposes DOM XML nodes to templates as easily traversable trees;
see in the Manual.
|
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.xml |
Deprecated, use W3C DOM with
freemarker.ext.dom instead;
Exposes XML from DOM, dom4j or JDOM nodes, uniformly. |
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started 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 <#list> block. |
class |
OverloadedMethodsModel
Wraps a set of same-name overloaded methods behind
TemplateMethodModel interface,
like if it was a single method, chooses among them behind the scenes on call-time based on the argument values. |
class |
SimpleMethodModel
A class that will wrap a reflected method call into a
TemplateMethodModel interface. |
Modifier and Type | Class and Description |
---|---|
class |
NodeModel
A base class for wrapping a single W3C DOM Node as a FreeMarker template model.
|
Modifier and Type | Method and Description |
---|---|
TemplateSequenceModel |
NodeModel.getChildNodes() |
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 | Class and Description |
---|---|
class |
RhinoFunctionModel |
class |
RhinoScriptableModel |
Modifier and Type | Method and Description |
---|---|
TemplateSequenceModel |
NodeListModel.getChildNodes()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultArrayAdapter
Adapts an
array of a non-primitive elements to the corresponding TemplateModel interface(s), most
importantly to TemplateHashModelEx . |
class |
DefaultListAdapter
Adapts a
List to the corresponding TemplateModel interface(s), most importantly to
TemplateSequenceModel . |
class |
SimpleList
Deprecated.
Use
SimpleSequence instead. |
class |
SimpleSequence
A simple implementation of the
TemplateSequenceModel interface, using its own underlying List for
storing the list items. |
class |
TemplateModelListSequence
A sequence that wraps a
List of TemplateModel -s. |
Modifier and Type | Method and Description |
---|---|
TemplateSequenceModel |
TemplateNodeModel.getChildNodes() |
Modifier and Type | Field and Description |
---|---|
static TemplateSequenceModel |
Constants.EMPTY_SEQUENCE |