Class LoadImageDirective

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

public class LoadImageDirective extends Object implements Nice2TemplateDirective, TemplateIdentifiers
Template Directive to load URL of an image from the repository
  • Constructor Details

    • LoadImageDirective

      public LoadImageDirective(org.slf4j.Logger log)
  • Method Details

    • execute

      public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException
      Specified by:
      execute in interface freemarker.template.TemplateDirectiveModel
      Throws:
      freemarker.template.TemplateException
      IOException