Package ninja.template
Class TemplateEngineFreemarkerI18nMethod
- java.lang.Object
-
- ninja.template.TemplateEngineFreemarkerI18nMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class TemplateEngineFreemarkerI18nMethod extends Object implements freemarker.template.TemplateMethodModelEx
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description TemplateEngineFreemarkerI18nMethod(Messages messages, Context context, Result result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description freemarker.template.TemplateModel
exec(List args)
void
logIfMessageKeyIsMissing(String messageKey, String messageValue)
-
-
-
Method Detail
-
exec
public freemarker.template.TemplateModel exec(List args) throws freemarker.template.TemplateModelException
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-
-