Class TemplateSnippetDirective

java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.directives.TemplateSnippetDirective
All Implemented Interfaces:
Nice2TemplateDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class TemplateSnippetDirective extends Object implements Nice2TemplateDirective
Inserts an executed 'Template_snippet' entity.
  • Constructor Details

  • Method Details

    • execute

      public void execute(freemarker.core.Environment environment, Map paramMap, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException
      Specified by:
      execute in interface freemarker.template.TemplateDirectiveModel
      Throws:
      freemarker.template.TemplateException
      IOException