| Package | Description |
|---|---|
| freemarker.cache |
Template loading and caching.
|
| freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template. |
| 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.) |
| freemarker.template.utility |
Various classes used by core FreeMarker code but might be useful outside of it too.
|
| Class and Description |
|---|
| Environment
Object that represents the runtime environment during template processing.
|
| TemplateConfiguration
Used for customizing the configuration settings for individual
Template-s (or rather groups of templates),
relatively to the common setting values coming from the Configuration. |
| Class and Description |
|---|
| ArithmeticEngine
Used for implementing the arithmetic operations and number comparisons in the template language.
|
| ArithmeticEngine.BigDecimalEngine
This is the default arithmetic engine in FreeMarker.
|
| ArithmeticEngine.ConservativeEngine
An arithmetic engine that conservatively widens the operation arguments
to extent that they can hold the result of the operation.
|
| CallPlaceCustomDataInitializationException |
| CombinedMarkupOutputFormat
Represents two markup formats nested into each other.
|
| CommonMarkupOutputFormat
Common superclass for implementing
MarkupOutputFormat-s that use a CommonTemplateMarkupOutputModel
subclass. |
| CommonTemplateMarkupOutputModel
Common superclass for implementing
TemplateMarkupOutputModel-s that belong to a
CommonMarkupOutputFormat subclass format. |
| Configurable |
| CSSOutputFormat
Represents the CSS output format (MIME type "text/css", name "CSS").
|
| DefaultTruncateBuiltinAlgorithm
The default
TruncateBuiltinAlgorithm implementation; see
Configurable.setTruncateBuiltinAlgorithm(TruncateBuiltinAlgorithm). |
| DirectiveCallPlace
Gives information about the place where a directive is called from, also lets you attach a custom data object to that
place.
|
| Environment
Object that represents the runtime environment during template processing.
|
| Environment.Namespace |
| HTMLOutputFormat
Represents the HTML output format (MIME type "text/html", name "HTML").
|
| InvalidFormatParametersException
Used when creating
TemplateDateFormat-s and TemplateNumberFormat-s to indicate that the parameters
part of the format string (like some kind of pattern) is malformed. |
| InvalidFormatStringException
Used when creating
TemplateDateFormat-s and TemplateNumberFormat-s to indicate that the format
string (like the value of the dateFormat setting) is malformed. |
| JavaScriptOutputFormat
Represents the JavaScript output format (MIME type "application/javascript", name "JavaScript").
|
| JSONOutputFormat
Represents the JSON output format (MIME type "application/json", name "JSON").
|
| MarkupOutputFormat
Superclass of
OutputFormat-s that represent a "markup" format, which is any format where certain character
sequences have special meaning and thus may need escaping. |
| OutputFormat
Represents an output format.
|
| ParseException
Parsing-time exception in a template (as opposed to a runtime exception, a
TemplateException). |
| ParserConfiguration
Don't implement this interface yourself; use the existing implementation(s).
|
| PlainTextOutputFormat
Represents the plain text output format (MIME type "text/plain", name "plainText").
|
| RTFOutputFormat
Represents the Rich Text Format output format (MIME type "application/rtf", name "RTF").
|
| TemplateClassResolver
Used by built-ins and other template language features that get a class
based on a string.
|
| TemplateCombinedMarkupOutputModel
Stores combined markup to be printed; used with
CombinedMarkupOutputFormat. |
| TemplateConfiguration
Used for customizing the configuration settings for individual
Template-s (or rather groups of templates),
relatively to the common setting values coming from the Configuration. |
| TemplateDateFormat
Represents a date/time/dateTime format; used in templates for formatting and parsing with that format.
|
| TemplateDateFormatFactory
Factory for a certain kind of date/time/dateTime formatting (
TemplateDateFormat). |
| TemplateHTMLOutputModel
Stores HTML markup to be printed; used with
HTMLOutputFormat. |
| TemplateMarkupOutputModel
"markup output" template language data-type; stores markup (some kind of "rich text" / structured format, as opposed
to plain text) that meant to be printed as template output.
|
| TemplateNumberFormat
Represents a number format; used in templates for formatting and parsing with that format.
|
| TemplateNumberFormatFactory
Factory for a certain kind of number formatting (
TemplateNumberFormat). |
| TemplateRTFOutputModel
Stores RTF markup to be printed; used with
RTFOutputFormat. |
| TemplateValueFormat
Superclass of all value format objects; objects that convert values to strings, or parse strings.
|
| TemplateValueFormatException
Error while getting, creating or applying
TemplateValueFormat-s (including its subclasses, like
TemplateNumberFormat). |
| TemplateValueFormatFactory
Superclass of all format factories.
|
| TemplateXHTMLOutputModel
Stores HTML markup to be printed; used with
HTMLOutputFormat. |
| TemplateXMLOutputModel
Stores XML markup to be printed; used with
XMLOutputFormat. |
| TruncateBuiltinAlgorithm
Used for implementing the "truncate" family of built-ins.
|
| UndefinedOutputFormat
Represents the output format used when the template output format is undecided.
|
| UnexpectedTypeException
The type of a value differs from what was expected.
|
| UnformattableValueException
Thrown when a
TemplateModel can't be formatted because of the value/properties of it are outside of that the
TemplateValueFormat supports. |
| XHTMLOutputFormat
Represents the XML output format (MIME type "application/xhtml+xml", name "XHTML"); this behaves identically to
HTMLOutputFormat, except that the name an the MIME Type differs. |
| XMLOutputFormat
Represents the XML output format (MIME type "application/xml", name "XML").
|
| Class and Description |
|---|
| Environment
Object that represents the runtime environment during template processing.
|
| Class and Description |
|---|
| Configurable |
| Environment
Object that represents the runtime environment during template processing.
|
| OutputFormat
Represents an output format.
|
| ParseException
Parsing-time exception in a template (as opposed to a runtime exception, a
TemplateException). |
| ParserConfiguration
Don't implement this interface yourself; use the existing implementation(s).
|
| UnregisteredOutputFormatException |
| Class and Description |
|---|
| Environment
Object that represents the runtime environment during template processing.
|
| ParseException
Parsing-time exception in a template (as opposed to a runtime exception, a
TemplateException). |