Package | Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
OptInTemplateClassResolver
A
TemplateClassResolver that resolves only the classes whose name
was specified in the constructor. |
Modifier and Type | Field and Description |
---|---|
static TemplateClassResolver |
TemplateClassResolver.ALLOWS_NOTHING_RESOLVER
Doesn't allow resolving any classes.
|
static TemplateClassResolver |
TemplateClassResolver.SAFER_RESOLVER
Same as
UNRESTRICTED_RESOLVER , except that it doesn't allow
resolving ObjectConstructor . |
static TemplateClassResolver |
TemplateClassResolver.UNRESTRICTED_RESOLVER
Simply calls
ClassUtil.forName(String) . |
Modifier and Type | Method and Description |
---|---|
TemplateClassResolver |
Configurable.getNewBuiltinClassResolver()
Retrieves the
TemplateClassResolver used
to resolve classes when "SomeClassName"?new is called in a template. |
Modifier and Type | Method and Description |
---|---|
void |
Configurable.setNewBuiltinClassResolver(TemplateClassResolver newBuiltinClassResolver)
Sets the
TemplateClassResolver that is used when the
new built-in is called in a template. |