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.) |
Class and Description |
---|
BeanModel
A class that will wrap an arbitrary object into
TemplateHashModel
interface allowing calls to arbitrary property getters and invocation of
accessible methods on the object from a template using the
object.foo to access properties and object.bar(arg1, arg2) to
invoke methods on it. |
BeansWrapper
ObjectWrapper that is able to expose the Java API of arbitrary Java objects. |
BeansWrapper.MethodAppearanceDecision
Experimental class; subject to change!
Used for
MethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
to store the results; see there. |
BeansWrapper.MethodAppearanceDecisionInput
Experimental class; subject to change!
Used for
MethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
as input parameter; see there. |
BeansWrapperConfiguration
Holds
BeansWrapper configuration settings and defines their defaults. |
MethodAppearanceFineTuner
Used for customizing how the methods are visible from templates, via
BeansWrapper.setMethodAppearanceFineTuner(MethodAppearanceFineTuner) . |
StringModel
Subclass of
BeanModel that exposes the return value of the Object.toString() method through the TemplateScalarModel
interface. |
Class and Description |
---|
BeansWrapper
ObjectWrapper that is able to expose the Java API of arbitrary Java objects. |
Class and Description |
---|
BeansWrapper
ObjectWrapper that is able to expose the Java API of arbitrary Java objects. |
BeansWrapperConfiguration
Holds
BeansWrapper configuration settings and defines their defaults. |