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, but it can also be used in itself as a
better alternative ObjectWrapper . |
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Stared in the Manual.) |
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 |
---|---|
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 | Field and Description |
---|---|
static Version |
Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS
The default of
Configuration.getIncompatibleImprovements() , currently Configuration.VERSION_2_3_0 . |
static Version |
Configuration.VERSION_2_3_0
FreeMarker version 2.3.0 (an
incompatible improvements break-point ) |
static Version |
Configuration.VERSION_2_3_19
FreeMarker version 2.3.19 (an
incompatible improvements break-point ) |
static Version |
Configuration.VERSION_2_3_20
FreeMarker version 2.3.20 (an
incompatible improvements break-point ) |
static Version |
Configuration.VERSION_2_3_21
FreeMarker version 2.3.21 (an
incompatible improvements break-point ) |
static Version |
Configuration.VERSION_2_3_22
FreeMarker version 2.3.22 (an
incompatible improvements break-point ) |
Modifier and Type | Method and Description |
---|---|
Version |
Configuration.getIncompatibleImprovements() |
static Version |
Configuration.getVersion()
Returns the FreeMarker version information, most importantly the major.minor.micro version numbers.
|
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) |