Class IncludedTemplateNamespace

All Implemented Interfaces:
Scope, TemplateHashModel, TemplateHashModelEx, TemplateModel

public class IncludedTemplateNamespace extends TemplateNamespace
This class is used for the scope of an included template. If a variable is not found,in this namespace, it falls back to the scope in the template from which this template was included.
  • Method Details

    • put

      public void put(String name, TemplateModel var)
      Description copied from interface: Scope
      Set a variable in this scope. This will typically only be used internally by the FreeMarker engine.
      Specified by:
      put in interface Scope
      Overrides:
      put in class TemplateNamespace