Class MessageFormatterMethod

java.lang.Object
org.keycloak.theme.beans.MessageFormatterMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class MessageFormatterMethod extends Object implements freemarker.template.TemplateMethodModelEx
Author:
Michael Gerber
  • Constructor Details

    • MessageFormatterMethod

      public MessageFormatterMethod(Locale locale, Properties messages)
    • MessageFormatterMethod

      public MessageFormatterMethod(Locale locale, Map<Object,Object> messages)
  • Method Details

    • exec

      public Object exec(List list) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException