|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Configuration | |
---|---|
freemarker.cache | Contains classes and interfaces that deal with template loading and caching. |
freemarker.core | This package contains FreeMarker's core parsing/rendering functionality;
most casual users do not need to be aware of the classes in this package,
and can restrict their attention to the freemarker.template
package. |
freemarker.ext.servlet | Provides a generic purpose servlet that generates dynamic response using FreeMarker. |
freemarker.template | This package contains the core API's that most users will use. |
Uses of Configuration in freemarker.cache |
---|
Methods in freemarker.cache with parameters of type Configuration | |
---|---|
void |
TemplateCache.setConfiguration(Configuration config)
Sets the configuration object to which this cache belongs. |
Uses of Configuration in freemarker.core |
---|
Methods in freemarker.core that return Configuration | |
---|---|
Configuration |
Environment.getConfiguration()
|
Uses of Configuration in freemarker.ext.servlet |
---|
Methods in freemarker.ext.servlet that return Configuration | |
---|---|
protected Configuration |
FreemarkerServlet.createConfiguration()
This method is called from FreemarkerServlet.init() to create the
FreeMarker configuration object that this servlet will use
for template loading. |
protected Configuration |
FreemarkerServlet.getConfiguration()
Returns the Configuration object used by this servlet. |
Uses of Configuration in freemarker.template |
---|
Methods in freemarker.template that return Configuration | |
---|---|
Configuration |
Template.getConfiguration()
Returns the Configuration object associated with this template. |
static Configuration |
Configuration.getDefaultConfiguration()
Deprecated. The usage of the static singleton (the "default") Configuration instance can easily cause erroneous, unpredictable
behavior. This is because multiple independent software components may use
FreeMarker internally inside the same application, so they will interfere
because of the common Configuration instance. Each such component
should use its own private Configuration object instead, that it
typically creates with new Configuration() when the component
is initialized. |
Methods in freemarker.template with parameters of type Configuration | |
---|---|
static Template |
Template.getPlainTextTemplate(java.lang.String name,
java.lang.String content,
Configuration config)
Returns a trivial template, one that is just a single block of plain text, no dynamic content. |
static void |
Configuration.setDefaultConfiguration(Configuration config)
Deprecated. Using the "default" Configuration instance can
easily lead to erroneous, unpredictable behaviour.
See more here... . |
Constructors in freemarker.template with parameters of type Configuration | |
---|---|
Template(java.lang.String name,
java.io.Reader reader,
Configuration cfg)
This is equivalent to Template(name, reader, cfg, null) |
|
Template(java.lang.String name,
java.io.Reader reader,
Configuration cfg,
java.lang.String encoding)
Constructs a template from a character stream. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |