Package | Description |
---|---|
freemarker.cache |
Template loading and caching.
|
freemarker.ext.servlet |
Servlet for legacy "Model 2" frameworks that allows using FreeMarker
templates instead of JSP as the MVC View
(see in the Manual).
|
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.) |
Class and Description |
---|
CacheStorage
Cache storage abstracts away the storage aspects of a cache - associating
an object with a key, retrieval and removal via the key.
|
CacheStorageWithGetSize
A cache storage that has a
getSize() method for returning the current number of cache entries. |
ConcurrentCacheStorage
An optional interface for cache storage that knows whether it can be
concurrently accessible without synchronization.
|
FileExtensionMatcher
Matches the file extension; unlike other matchers, by default case insensitive.
|
FileNameGlobMatcher
As opposed to
PathGlobMatcher , it only compares the "file name" part (the part after the last / ) of
the source name with the given glob. |
FirstMatchTemplateConfigurationFactory
Returns the first non-
null result of the child factories, ignoring all further child factories. |
NullCacheStorage
A cache storage that doesn't store anything.
|
PathGlobMatcher
Matches the whole template source name (also known as template source path) with the given glob.
|
StatefulTemplateLoader
Interface that can be implemented by
TemplateLoader -s that maintain some
sort of internal state (i.e. |
TemplateCache.MaybeMissingTemplate
Used for the return value of
TemplateCache.getTemplate(String, Locale, Object, String, boolean) . |
TemplateConfigurationFactory
Creates (or returns)
TemplateConfiguration -s for template sources. |
TemplateConfigurationFactoryException
Non-I/O exception thrown by
TemplateConfigurationFactory -s. |
TemplateLoader
FreeMarker loads template "files" through objects that implement this interface,
thus the templates need not be real files, and can come from any kind of data source
(like classpath, servlet context, database, etc).
|
TemplateLookupContext
Used as the parameter of
TemplateLookupStrategy.lookup(TemplateLookupContext) . |
TemplateLookupResult
The return value of
TemplateLookupStrategy.lookup(TemplateLookupContext) and similar lookup methods. |
TemplateLookupStrategy
Finds the
TemplateLoader -level (storage-level) template source for the template name with which the template
was requested (as in Configuration.getTemplate(String) ). |
TemplateNameFormat
Symbolizes a template name format, which defines the basic syntax of names through algorithms such as normalization.
|
TemplateSourceMatcher |
URLTemplateLoader
This is an abstract template loader that can load templates whose location can be described by an URL.
|
Class and Description |
---|
TemplateLoader
FreeMarker loads template "files" through objects that implement this interface,
thus the templates need not be real files, and can come from any kind of data source
(like classpath, servlet context, database, etc).
|
Class and Description |
---|
CacheStorage
Cache storage abstracts away the storage aspects of a cache - associating
an object with a key, retrieval and removal via the key.
|
TemplateConfigurationFactory
Creates (or returns)
TemplateConfiguration -s for template sources. |
TemplateLoader
FreeMarker loads template "files" through objects that implement this interface,
thus the templates need not be real files, and can come from any kind of data source
(like classpath, servlet context, database, etc).
|
TemplateLookupStrategy
Finds the
TemplateLoader -level (storage-level) template source for the template name with which the template
was requested (as in Configuration.getTemplate(String) ). |
TemplateNameFormat
Symbolizes a template name format, which defines the basic syntax of names through algorithms such as normalization.
|