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 VersionParserConfiguration. getIncompatibleImprovements()VersionTemplateConfiguration. 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 VersionBeansWrapper. getIncompatibleImprovements()Returns the version given withBeansWrapper(Version), normalized to the lowest version where a change has occurred.VersionBeansWrapperConfiguration. 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 Version Modifier and Type Method Description static 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 Version Constructor Description BeansWrapper(Version incompatibleImprovements)UseBeansWrapperBuilderinstead 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 VersionConfiguration. 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 Version Modifier and Type Method Description static 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 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)UseDefaultObjectWrapperBuilderinstead if possible.DefaultObjectWrapperBuilder(Version incompatibleImprovements)Creates a builder that creates aDefaultObjectWrapperwith the givenincompatibleImprovements; using at least 2.3.22 is highly recommended.DefaultObjectWrapperConfiguration(Version incompatibleImprovements)SimpleObjectWrapper(Version incompatibleImprovements)
-