Uses of Class
freemarker.cache.TemplateLookupResult
Packages that use TemplateLookupResult
-
Uses of TemplateLookupResult in freemarker.cache
Methods in freemarker.cache that return TemplateLookupResultModifier and TypeMethodDescriptionTemplateLookupContext.createNegativeLookupResult()
Creates a not-found lookup result that then can be used as the return value ofTemplateLookupStrategy.lookup(TemplateLookupContext)
.abstract TemplateLookupResult
TemplateLookupStrategy.lookup
(TemplateLookupContext ctx) Finds the template source that matches the template name, locale (if notnull
) and other parameters specified in theTemplateLookupContext
.abstract TemplateLookupResult
TemplateLookupContext.lookupWithAcquisitionStrategy
(String templateName) Finds the template source based on its normalized name; handles*
steps (so called acquisition), otherwise it just callsTemplateLoader.findTemplateSource(String)
.abstract TemplateLookupResult
TemplateLookupContext.lookupWithLocalizedThenAcquisitionStrategy
(String templateName, Locale templateLocale) Finds the template source based on its normalized name; tries localized variations going from most specific to less specific, and for each variation it delegates toTemplateLookupContext.lookupWithAcquisitionStrategy(String)
.