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 VersionModifierConstructorDescriptionprotectedConfigurable(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 VersionBeansWrapper.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 DefaultMemberAccessPolicyDefaultMemberAccessPolicy.getInstance(Version incompatibleImprovements) Returns the singleton that's compatible with the given incompatible improvements version.protected static VersionBeansWrapper.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) UseBeansWrapperBuilderinstead of the public constructors if possible.BeansWrapperBuilder(Version incompatibleImprovements) protectedBeansWrapperConfiguration(Version incompatibleImprovements) protectedBeansWrapperConfiguration(Version incompatibleImprovements, boolean isIncompImprsAlreadyNormalized) -
Uses of Version in freemarker.template
Fields in freemarker.template declared as VersionModifier and TypeFieldDescriptionstatic final VersionConfiguration.DEFAULT_INCOMPATIBLE_IMPROVEMENTSThe default ofConfiguration.getIncompatibleImprovements(), currentlyConfiguration.VERSION_2_3_0.static final VersionConfiguration.VERSION_2_3_0FreeMarker version 2.3.0 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_19FreeMarker version 2.3.19 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_20FreeMarker version 2.3.20 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_21FreeMarker version 2.3.21 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_22FreeMarker version 2.3.22 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_23FreeMarker version 2.3.23 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_24FreeMarker version 2.3.24 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_25FreeMarker version 2.3.25 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_26FreeMarker version 2.3.26 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_27FreeMarker version 2.3.27 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_28FreeMarker version 2.3.28 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_29FreeMarker version 2.3.29 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_30FreeMarker version 2.3.30 (anincompatible improvements break-point)static final VersionConfiguration.VERSION_2_3_31FreeMarker version 2.3.31 (anincompatible improvements break-point)Methods in freemarker.template that return VersionModifier and TypeMethodDescriptionConfiguration.getIncompatibleImprovements()static VersionConfiguration.getVersion()Returns FreeMarker version information, most importantly the major.minor.micro version numbers; do NOT use this as the value of theincompatible_improvementssetting (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 VersionDefaultObjectWrapper.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 ObjectWrapperConfiguration.getDefaultObjectWrapper(Version incompatibleImprovements) Returns the default object wrapper for a given "incompatible_improvements" version.protected static VersionDefaultObjectWrapper.normalizeIncompatibleImprovementsVersion(Version incompatibleImprovements) Returns the lowest version number that is equivalent with the parameter version.voidConfiguration.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) UseDefaultObjectWrapperBuilderinstead if possible.DefaultObjectWrapperBuilder(Version incompatibleImprovements) Creates a builder that creates aDefaultObjectWrapperwith the givenincompatibleImprovements; using at least 2.3.22 is highly recommended.protectedDefaultObjectWrapperConfiguration(Version incompatibleImprovements) SimpleObjectWrapper(Version incompatibleImprovements)