Class TemplateEngineFreemarkerI18nMethod

  • All Implemented Interfaces:
    freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

    public class TemplateEngineFreemarkerI18nMethod
    extends Object
    implements freemarker.template.TemplateMethodModelEx
    • Field Detail

      • logger

        public static final org.slf4j.Logger logger
    • Constructor Detail

      • TemplateEngineFreemarkerI18nMethod

        public TemplateEngineFreemarkerI18nMethod​(Messages messages,
                                                  Context context,
                                                  Result result)
    • Method Detail

      • exec

        public freemarker.template.TemplateModel exec​(List args)
                                               throws freemarker.template.TemplateModelException
        Specified by:
        exec in interface freemarker.template.TemplateMethodModel
        Specified by:
        exec in interface freemarker.template.TemplateMethodModelEx
        Throws:
        freemarker.template.TemplateModelException
      • logIfMessageKeyIsMissing

        public void logIfMessageKeyIsMissing​(String messageKey,
                                             String messageValue)