Uses of Class
freemarker.template.Version
Packages that use Version
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration
(see also the
Getting Started in the Manual.)-
Uses of Version in freemarker.core
Methods in freemarker.core that return VersionModifier and TypeMethodDescriptionParserConfiguration.getIncompatibleImprovements()
TemplateConfiguration.getIncompatibleImprovements()
ReturnsConfiguration.getIncompatibleImprovements()
from the parentConfiguration
.Constructors in freemarker.core with parameters of type VersionModifierConstructorDescriptionprotected
Configurable
(Version incompatibleImprovements) Intended to be called from inside FreeMarker only. -
Uses of Version in freemarker.ext.beans
Methods in freemarker.ext.beans that return VersionModifier and TypeMethodDescriptionBeansWrapper.getIncompatibleImprovements()
Returns the version given withBeansWrapper(Version)
, normalized to the lowest version where a change has occurred.BeansWrapperConfiguration.getIncompatibleImprovements()
protected static Version
BeansWrapper.normalizeIncompatibleImprovementsVersion
(Version incompatibleImprovements) Returns the lowest version number that is equivalent with the parameter version.Methods in freemarker.ext.beans with parameters of type VersionModifier and TypeMethodDescriptionstatic 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.Constructors in freemarker.ext.beans with parameters of type VersionModifierConstructorDescriptionBeansWrapper
(Version incompatibleImprovements) UseBeansWrapperBuilder
instead of the public constructors if possible.BeansWrapperBuilder
(Version incompatibleImprovements) protected
BeansWrapperConfiguration
(Version incompatibleImprovements) protected
BeansWrapperConfiguration
(Version incompatibleImprovements, boolean isIncompImprsAlreadyNormalized) -
Uses of Version in freemarker.template
Fields in freemarker.template declared as VersionModifier and TypeFieldDescriptionstatic final Version
Configuration.DEFAULT_INCOMPATIBLE_IMPROVEMENTS
The default ofConfiguration.getIncompatibleImprovements()
, currentlyConfiguration.VERSION_2_3_0
.static final Version
Configuration.VERSION_2_3_0
FreeMarker version 2.3.0 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_19
FreeMarker version 2.3.19 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_20
FreeMarker version 2.3.20 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_21
FreeMarker version 2.3.21 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_22
FreeMarker version 2.3.22 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_23
FreeMarker version 2.3.23 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_24
FreeMarker version 2.3.24 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_25
FreeMarker version 2.3.25 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_26
FreeMarker version 2.3.26 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_27
FreeMarker version 2.3.27 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_28
FreeMarker version 2.3.28 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_29
FreeMarker version 2.3.29 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_30
FreeMarker version 2.3.30 (anincompatible improvements break-point
)static final Version
Configuration.VERSION_2_3_31
FreeMarker version 2.3.31 (anincompatible improvements break-point
)Methods in freemarker.template that return VersionModifier and TypeMethodDescriptionConfiguration.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 theincompatible_improvements
setting (as the parameter toConfiguration(Version)
), as then your application can break when you upgrade FreeMarker! Use a constant value, likeConfiguration.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.Methods in freemarker.template with parameters of type VersionModifier and TypeMethodDescriptionstatic 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) UseConfiguration(Version)
instead if possible; see the meaning of the parameter there.Constructors in freemarker.template with parameters of type VersionModifierConstructorDescriptionConfiguration
(Version incompatibleImprovements) Creates a new instance and sets which of the non-backward-compatible bugfixes/improvements should be enabled.DefaultObjectWrapper
(Version incompatibleImprovements) UseDefaultObjectWrapperBuilder
instead if possible.DefaultObjectWrapperBuilder
(Version incompatibleImprovements) Creates a builder that creates aDefaultObjectWrapper
with the givenincompatibleImprovements
; using at least 2.3.22 is highly recommended.protected
DefaultObjectWrapperConfiguration
(Version incompatibleImprovements) SimpleObjectWrapper
(Version incompatibleImprovements)