Package | Description |
---|---|
freemarker.ext.beans |
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s 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 (see also the
Getting Started 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 |
BeansWrapper
ObjectWrapper that is able to expose the Java API of arbitrary Java objects. |
Modifier and Type | Class and Description |
---|---|
class |
RhinoWrapper |
Modifier and Type | Class and 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 and Description |
---|---|
static DefaultNonListCollectionAdapter |
DefaultNonListCollectionAdapter.adapt(java.util.Collection collection,
ObjectWrapperWithAPISupport wrapper)
Factory method for creating new adapter instances.
|
static DefaultIterableAdapter |
DefaultIterableAdapter.adapt(java.lang.Iterable<?> iterable,
ObjectWrapperWithAPISupport wrapper)
Factory method for creating new adapter instances.
|
static DefaultMapAdapter |
DefaultMapAdapter.adapt(java.util.Map map,
ObjectWrapperWithAPISupport wrapper)
Factory method for creating new adapter instances.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RichObjectWrapper
Experimental - subject to change: Union of the interfaces that a typical feature rich
ObjectWrapper is
expected to implement. |