Package | Description |
---|---|
freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template . |
freemarker.ext.beans |
The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
|
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.) |
Modifier and Type | Method and Description |
---|---|
Version |
TemplateConfiguration.getIncompatibleImprovements()
Returns
Configuration.getIncompatibleImprovements() from the parent Configuration . |
Version |
ParserConfiguration.getIncompatibleImprovements()
|
Constructor and Description |
---|
Configurable(Version incompatibleImprovements)
Intended to be called from inside FreeMarker only.
|
Modifier and Type | Method and Description |
---|---|
Version |
BeansWrapperConfiguration.getIncompatibleImprovements() |
Version |
BeansWrapper.getIncompatibleImprovements()
Returns the version given with
BeansWrapper.BeansWrapper(Version) , normalized to the lowest version where a change
has occurred. |
protected static Version |
BeansWrapper.normalizeIncompatibleImprovementsVersion(Version incompatibleImprovements)
Returns the lowest version number that is equivalent with the parameter version.
|
Modifier and Type | Method and Description |
---|---|
static DefaultMemberAccessPolicy |
DefaultMemberAccessPolicy.getInstance(Version incompatibleImprovements)
Returns the singleton that's compatible with the given incompatible improvements version.
|
protected static Version |
BeansWrapper.normalizeIncompatibleImprovementsVersion(Version incompatibleImprovements)
Returns the lowest version number that is equivalent with the parameter version.
|
Constructor and Description |
---|
BeansWrapper(Version incompatibleImprovements)
Use
BeansWrapperBuilder instead of the public constructors if possible. |
BeansWrapperBuilder(Version incompatibleImprovements)
|
BeansWrapperConfiguration(Version incompatibleImprovements)
|
BeansWrapperConfiguration(Version incompatibleImprovements,
boolean isIncompImprsAlreadyNormalized) |
Modifier and Type | Method and Description |
---|---|
Version |
Configuration.getIncompatibleImprovements() |
static Version |
Configuration.getVersion()
Returns FreeMarker version information, most importantly the major.minor.micro version numbers;
do NOT use this as the value of the
incompatible_improvements setting (as the parameter to
Configuration.Configuration(Version) ), as then your application can break when you upgrade FreeMarker!
Use a constant value, like Configuration.VERSION_2_3_28 , to protect your application from fixes/changes that aren't
entirely backward compatible. |
protected static Version |
DefaultObjectWrapper.normalizeIncompatibleImprovementsVersion(Version incompatibleImprovements)
Returns the lowest version number that is equivalent with the parameter version.
|
Modifier and Type | Method and Description |
---|---|
static ObjectWrapper |
Configuration.getDefaultObjectWrapper(Version incompatibleImprovements)
Returns the default object wrapper for a given "incompatible_improvements" version.
|
protected static Version |
DefaultObjectWrapper.normalizeIncompatibleImprovementsVersion(Version incompatibleImprovements)
Returns the lowest version number that is equivalent with the parameter version.
|
void |
Configuration.setIncompatibleImprovements(Version incompatibleImprovements)
Use
Configuration.Configuration(Version) instead if possible; see the meaning of the parameter there. |
Constructor and Description |
---|
Configuration(Version incompatibleImprovements)
Creates a new instance and sets which of the non-backward-compatible bugfixes/improvements should be enabled.
|
DefaultObjectWrapper(Version incompatibleImprovements)
Use
DefaultObjectWrapperBuilder instead if possible. |
DefaultObjectWrapperBuilder(Version incompatibleImprovements)
Creates a builder that creates a
DefaultObjectWrapper with the given incompatibleImprovements ;
using at least 2.3.22 is highly recommended. |
DefaultObjectWrapperConfiguration(Version incompatibleImprovements) |
SimpleObjectWrapper(Version incompatibleImprovements) |