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.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 |
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 |
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 and Description |
---|---|
class |
NodeListModel
Deprecated.
Use
NodeModel instead. |
Modifier and Type | Class and 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 and Description |
---|---|
class |
RhinoFunctionModel |
class |
RhinoScriptableModel |
Modifier and Type | Class and 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 and Description |
---|---|
static TemplateScalarModel |
Constants.EMPTY_STRING |