Package | Description |
---|---|
freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template . |
Modifier and Type | Class | Description |
---|---|---|
class |
OptInTemplateClassResolver |
A
TemplateClassResolver that resolves only the classes whose name
was specified in the constructor. |
Modifier and Type | Field | 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 and Execute and freemarker.template.utility.JythonRuntime . |
static TemplateClassResolver |
TemplateClassResolver.UNRESTRICTED_RESOLVER |
Simply calls
ClassUtil.forName(String) . |
Modifier and Type | Method | Description |
---|---|---|
TemplateClassResolver |
Configurable.getNewBuiltinClassResolver() |
Retrieves the
TemplateClassResolver used
to resolve classes when "SomeClassName"?new is called in a template. |
Modifier and Type | Method | Description |
---|---|---|
void |
Configurable.setNewBuiltinClassResolver(TemplateClassResolver newBuiltinClassResolver) |
Sets the
TemplateClassResolver that is used when the
new built-in is called in a template. |