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.jython |
Exposes Jython objects to templates.
|
freemarker.ext.rhino |
Exposes Rhino (ECMAScript) objects to templates.
|
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 |
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 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 |
Modifier and Type | Class and Description |
---|---|
class |
ObjectConstructor
An object that you can make available in a template
to instantiate arbitrary beans-wrapped objects in a template.
|