Package | Description |
---|---|
freemarker.ext.beans |
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
|
freemarker.ext.beans.delme | |
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.) |
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
Used for
MethodAppearanceFineTuner.process(freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision)
to store the results; see there. |
BeansWrapper.MethodAppearanceDecisionInput
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. |
ClassMemberAccessPolicy
Returned by
MemberAccessPolicy.forClass(Class) . |
DefaultMemberAccessPolicy
Member access policy, used to implement default behavior that's mostly compatible with pre-2.3.30 versions, but is
somewhat safer; it still can't provide safety in practice, if you allow untrusted users to edit templates! Use
WhitelistMemberAccessPolicy if you need stricter control. |
LegacyDefaultMemberAccessPolicy
Legacy blacklist based member access policy, used only to keep old behavior, as it can't provide meaningful safety.
|
MemberAccessPolicy
Implement this to restrict what class members (methods, fields, constructors) are accessible from templates.
|
MemberSelectorListMemberAccessPolicy
Superclass for member-selector-list-based member access policies, like
WhitelistMemberAccessPolicy . |
MemberSelectorListMemberAccessPolicy.MemberSelector
A condition that matches some type members.
|
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 |
---|
AdhocTestMultimap |
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. |