Uses of Class
freemarker.template.MalformedTemplateNameException
Packages that use MalformedTemplateNameException
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration
(see also the
Getting Started in the Manual.)-
Uses of MalformedTemplateNameException in freemarker.core
Methods in freemarker.core that throw MalformedTemplateNameExceptionModifier and TypeMethodDescriptionEnvironment.rootBasedToAbsoluteTemplateName
(String rootBasedName) Converts a root based name (a name that's either relative to the root, or is absolute), which are typically used by the API (such as forConfiguration.getTemplate(String)
), to an absolute name, which can be safely passed to<#include path>
and such, as it won't be misinterpreted to be relative to the directory of the template.Environment.toFullTemplateName
(String baseName, String targetName) Resolves a reference to a template (like the one used in#include
or#import
), assuming a base name. -
Uses of MalformedTemplateNameException in freemarker.template
Methods in freemarker.template that throw MalformedTemplateNameExceptionModifier and TypeMethodDescriptionConfiguration.getTemplate
(String name) Retrieves the template with the given name from the template cache, loading it into the cache first if it's missing/staled.Configuration.getTemplate
(String name, String encoding) Shorthand forgetTemplate(name, null, null, encoding, true, false)
.Configuration.getTemplate
(String name, Locale locale) Shorthand forgetTemplate(name, locale, null, null, true, false)
.Configuration.getTemplate
(String name, Locale locale, Object customLookupCondition, String encoding, boolean parseAsFTL, boolean ignoreMissing) Retrieves the template with the given name (and according the specified further parameters) from the template cache, loading it into the cache first if it's missing/staled.Configuration.getTemplate
(String name, Locale locale, String encoding) Shorthand forgetTemplate(name, locale, null, encoding, true, false)
.Configuration.getTemplate
(String name, Locale locale, String encoding, boolean parseAsFTL) Shorthand forgetTemplate(name, locale, null, encoding, parseAsFTL, false)
.Configuration.getTemplate
(String name, Locale locale, String encoding, boolean parseAsFTL, boolean ignoreMissing)