Package org.hippoecm.frontend.l10n
Class ResourceBundleModel.Builder
- java.lang.Object
-
- org.hippoecm.frontend.l10n.ResourceBundleModel.Builder
-
- Enclosing class:
- ResourceBundleModel
public static class ResourceBundleModel.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundleModel
build()
ResourceBundleModel.Builder
defaultValue(String defaultValue)
ResourceBundleModel.Builder
locale(Locale locale)
To set a Locale.ResourceBundleModel.Builder
parameters(Map<String,String> parameters)
-
-
-
Method Detail
-
locale
public ResourceBundleModel.Builder locale(Locale locale)
To set a Locale. When not set by defaultSession.getLocale()
is used.- Parameters:
locale
- the bundle locale
-
defaultValue
public ResourceBundleModel.Builder defaultValue(String defaultValue)
-
parameters
public ResourceBundleModel.Builder parameters(Map<String,String> parameters)
-
build
public ResourceBundleModel build()
-
-