Uses of Class
freemarker.template.Version
-
Packages that use Version Package Description freemarker.core The seldom used or advanced parts of the fundamental FreeMarker API, compared tofreemarker.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 withConfiguration
(see also the Getting Started in the Manual.) -
-
Uses of Version in freemarker.core
Methods in freemarker.core that return Version Modifier and Type Method Description Version
ParserConfiguration. getIncompatibleImprovements()
Version
TemplateConfiguration. getIncompatibleImprovements()
ReturnsConfiguration.getIncompatibleImprovements()
from the parentConfiguration
.Constructors in freemarker.core with parameters of type Version Constructor Description 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 Version Modifier and Type Method Description Version
BeansWrapper. getIncompatibleImprovements()
Returns the version given withBeansWrapper(Version)
, normalized to the lowest version where a change has occurred.Version
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 Version Modifier and Type Method 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.Constructors in freemarker.ext.beans with parameters of type Version Constructor Description BeansWrapper(Version incompatibleImprovements)
UseBeansWrapperBuilder
instead of the public constructors if possible.BeansWrapperBuilder(Version incompatibleImprovements)
BeansWrapperConfiguration(Version incompatibleImprovements)
BeansWrapperConfiguration(Version incompatibleImprovements, boolean isIncompImprsAlreadyNormalized)
-
Uses of Version in freemarker.template
Methods in freemarker.template that return Version Modifier and Type Method 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 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 Version Modifier and Type Method 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)
UseConfiguration(Version)
instead if possible; see the meaning of the parameter there.Constructors in freemarker.template with parameters of type Version Constructor Description Configuration(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.DefaultObjectWrapperConfiguration(Version incompatibleImprovements)
SimpleObjectWrapper(Version incompatibleImprovements)
-