| 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.rhino |
Exposes Rhino (ECMAScript) objects to templates.
|
| 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 |
BeansWrapper |
ObjectWrapper that is able to expose the Java API of arbitrary Java objects. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
RhinoWrapper |
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultObjectWrapper |
The default implementation of the
ObjectWrapper interface. |
class |
SimpleObjectWrapper |
A restricted object wrapper that will not expose arbitrary object, just those that directly correspond to the
TemplateModel sub-interfaces (String, Map and such). |
| Modifier and Type | Method | Description |
|---|---|---|
static DefaultArrayAdapter |
DefaultArrayAdapter.adapt(java.lang.Object array,
ObjectWrapperAndUnwrapper wrapper) |
Factory method for creating new adapter instances.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
RichObjectWrapper |
Experimental - subject to change: Union of the interfaces that a typical feature rich
ObjectWrapper is
expected to implement. |