Class LocaleMessagesMethod
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendering.fm.extensions.LocaleMessagesMethod
-
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class LocaleMessagesMethod extends Object implements freemarker.template.TemplateMethodModelEx
Message method that differs from the standard one as its second argument is the locale.- Author:
- Bogdan Stefanescu, Sun Seng David TAN
-
-
Field Summary
Fields Modifier and Type Field Description protected ResourceComposite
bundle
-
Constructor Summary
Constructors Constructor Description LocaleMessagesMethod(ResourceComposite bundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
exec(List arguments)
ResourceComposite
getBundle()
void
setBundle(ResourceComposite bundle)
-
-
-
Field Detail
-
bundle
protected ResourceComposite bundle
-
-
Constructor Detail
-
LocaleMessagesMethod
public LocaleMessagesMethod(ResourceComposite bundle)
-
-
Method Detail
-
setBundle
public void setBundle(ResourceComposite bundle)
-
getBundle
public ResourceComposite getBundle()
-
-