Class FreemarkerTemplateModelServiceImpl

java.lang.Object
ch.tocco.nice2.templating.impl.FreemarkerTemplateModelServiceImpl
All Implemented Interfaces:
FreemarkerTemplateModelService

@Component public class FreemarkerTemplateModelServiceImpl extends Object implements FreemarkerTemplateModelService
  • Constructor Details

    • FreemarkerTemplateModelServiceImpl

      public FreemarkerTemplateModelServiceImpl()
  • Method Details

    • setTemplateDirectives

      public void setTemplateDirectives(Map<String,freemarker.template.TemplateDirectiveModel> directives)
    • setTemplateMethods

      public void setTemplateMethods(Map<String,freemarker.template.TemplateMethodModelEx> methods)
    • getDirectives

      public Map<String,freemarker.template.TemplateDirectiveModel> getDirectives()
      Description copied from interface: FreemarkerTemplateModelService
      Get all TemplateDirectiveModel implementations which have been contributed to nice2.templating.Directives
      Specified by:
      getDirectives in interface FreemarkerTemplateModelService
    • getMethods

      public Map<String,freemarker.template.TemplateMethodModelEx> getMethods()
      Description copied from interface: FreemarkerTemplateModelService
      Get all TemplateDirectiveModel implementations which have been contributed to nice2.templating.TemplateMethods
      Specified by:
      getMethods in interface FreemarkerTemplateModelService