Class I18nMethodModel

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

    public class I18nMethodModel
    extends Object
    implements freemarker.template.TemplateMethodModelEx
    This Freemarker method will produce a bundle of text strings. It is simply a wrapper around I18n that produces a wrapped I18nBundle. If the bundle name is not provided, the default bundle is assumed.
    • Constructor Detail

      • I18nMethodModel

        public I18nMethodModel()
    • Method Detail

      • exec

        public Object 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