| 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.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 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 | Description |
|---|---|---|
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 |
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 |
ResourceBundleModel |
A hash model that wraps a resource bundle.
|
class |
SimpleMapModel |
Model used by
BeansWrapper when simpleMapWrapper
mode is enabled. |
class |
SimpleMethodModel |
A class that will wrap a reflected method call into a
TemplateMethodModel interface. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
NodeListModel |
Deprecated.
Use
NodeModel instead. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JythonHashModel |
Model for Jython dictionaries (
PyDictionary
and PyStringMap). |
class |
JythonModel |
Generic model for arbitrary Jython objects.
|
class |
JythonNumberModel |
Model for Jython numeric objects (
PyInteger, PyLong,
PyFloat). |
class |
JythonSequenceModel |
Model for Jython sequence objects (
PySequence descendants). |
| Modifier and Type | Class | Description |
|---|---|---|
class |
RhinoFunctionModel |
| Modifier and Type | Class | Description |
|---|---|---|
class |
NodeListModel |
Deprecated.
Use
NodeModel instead. |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
TemplateMethodModelEx |
"extended method" template language data type: Objects that act like functions.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
Execute |
Gives FreeMarker the the ability to execute external commands.
|
class |
ObjectConstructor |
An object that you can make available in a template
to instantiate arbitrary beans-wrapped objects in a template.
|