Uses of Class
freemarker.core.Environment.Namespace
Packages that use Environment.Namespace
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.-
Uses of Environment.Namespace in freemarker.core
Methods in freemarker.core that return Environment.NamespaceModifier and TypeMethodDescriptionEnvironment.getCurrentNamespace()
Returns the current namespace.Environment.getGlobalNamespace()
Returns the name-space that contains the globally visible non-data-model variables (usually created with<#global ...>
).Environment.getMainNamespace()
Returns the main namespace.Environment.getNamespace
(String name) Returns the name-space for the name if exists, or null.Does what the#import
directive does, but with an already loaded template.Emulatesimport
directive, except thattemplateName
must be template root relative.LikeEnvironment.importLib(String, String)
, but you can specify if you want a lazy import or not.