| Package | Description |
|---|---|
| freemarker.cache |
Template loading and caching.
|
| freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConditionalTemplateConfigurationFactory
Returns the given
TemplateConfiguration directly, or another TemplateConfigurationFactory's result, when
the specified matcher matches the template source. |
class |
FirstMatchTemplateConfigurationFactory
Returns the first non-
null result of the child factories, ignoring all further child factories. |
class |
MergingTemplateConfigurationFactory
Returns the merged results of all the child factories.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateConfigurationFactory |
TemplateCache.getTemplateConfigurations() |
| Constructor and Description |
|---|
ConditionalTemplateConfigurationFactory(TemplateSourceMatcher matcher,
TemplateConfigurationFactory templateConfigurationFactory) |
FirstMatchTemplateConfigurationFactory(TemplateConfigurationFactory... templateConfigurationFactories) |
MergingTemplateConfigurationFactory(TemplateConfigurationFactory... templateConfigurationFactories) |
TemplateCache(TemplateLoader templateLoader,
CacheStorage cacheStorage,
TemplateLookupStrategy templateLookupStrategy,
TemplateNameFormat templateNameFormat,
TemplateConfigurationFactory templateConfigurations,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
TemplateConfigurationFactory |
Configuration.getTemplateConfigurations()
The getter pair of
Configuration.setTemplateConfigurations(TemplateConfigurationFactory). |
| Modifier and Type | Method and Description |
|---|---|
void |
Configuration.setTemplateConfigurations(TemplateConfigurationFactory templateConfigurations)
Sets a
TemplateConfigurationFactory that will configure individual templates where their settings differ
from those coming from the common Configuration object. |