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 | Method and Description |
---|---|
Environment.Namespace |
Environment.getCurrentNamespace()
Returns the main name-space.
|
Environment.Namespace |
Environment.getGlobalNamespace()
Returns a fictitious name-space that contains the globally visible variables
that were created in the template, but not the variables of the data-model.
|
Environment.Namespace |
Environment.getMainNamespace()
Returns the main name-space.
|
Environment.Namespace |
Environment.getNamespace(String name)
Returns the name-space for the name if exists, or null.
|
Environment.Namespace |
Environment.importLib(String name,
String namespace)
Emulates
import directive, except that name must be tempate
root relative. |
Environment.Namespace |
Environment.importLib(Template loadedTemplate,
String namespace)
Emulates
import directive. |