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 |
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 |
MapModel |
A special case of
BeanModel that adds implementation
for TemplateMethodModelEx on map objects that is a shortcut for the
Map.get() method. |
class |
StringModel |
Subclass of
BeanModel that exposes the return value of the Object.toString() method through the TemplateScalarModel
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 |
|
class |
RhinoScriptableModel |
Modifier and Type | Class | Description |
---|---|---|
class |
NodeListModel |
Deprecated.
Use
NodeModel instead. |
Modifier and Type | Class | Description |
---|---|---|
class |
LocalizedString |
An abstract base class for scalars that vary by locale.
|
class |
ResourceBundleLocalizedString |
A concrete implementation of
LocalizedString that gets
a localized string from a ResourceBundle |
class |
SimpleScalar |
A simple implementation of the TemplateScalarModel
interface, using a String.
|
Modifier and Type | Field | Description |
---|---|---|
static TemplateScalarModel |
Constants.EMPTY_STRING |