Package | Description |
---|---|
freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template . |
Modifier and Type | Method and Description |
---|---|
Environment.Namespace |
Environment.getCurrentNamespace()
Returns the current namespace.
|
Environment.Namespace |
Environment.getGlobalNamespace()
Returns the name-space that contains the globally visible non-data-model variables (usually created with
<#global ...> ). |
Environment.Namespace |
Environment.getMainNamespace()
Returns the main namespace.
|
Environment.Namespace |
Environment.getNamespace(java.lang.String name)
Returns the name-space for the name if exists, or null.
|
Environment.Namespace |
Environment.importLib(java.lang.String templateName,
java.lang.String targetNsVarName)
Emulates
import directive, except that templateName must be template root relative. |
Environment.Namespace |
Environment.importLib(java.lang.String templateName,
java.lang.String targetNsVarName,
boolean lazy)
Like
Environment.importLib(String, String) , but you can specify if you want a
lazy import or not. |
Environment.Namespace |
Environment.importLib(Template loadedTemplate,
java.lang.String targetNsVarName)
Does what the
#import directive does, but with an already loaded template. |