| Package | Description |
|---|---|
| freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template. |
| 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 and Execute and freemarker.template.utility.JythonRuntime. |
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"? |
| 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. |