public abstract class I18nBundleBase extends I18nWrapper implements Serializable
ResourceBundle into the I18n delegation chain. For the sake of performance, lookups into the ResourceBundle
are cached by this class in a synchronized map.| Constructor and Description |
|---|
I18nBundleBase(I18n i18n) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getBundleKey() |
javax.faces.application.FacesMessage |
getFacesMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
javax.faces.application.FacesMessage.Severity severity,
String messageId)
|
javax.faces.application.FacesMessage |
getFacesMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
javax.faces.application.FacesMessage.Severity severity,
String messageId,
Object... arguments)
|
String |
getMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
String messageId)
|
String |
getMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
String messageId,
Object... arguments)
|
I18n |
getWrapped() |
public I18nBundleBase(I18n i18n)
public abstract String getBundleKey()
public javax.faces.application.FacesMessage getFacesMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
javax.faces.application.FacesMessage.Severity severity,
String messageId)
I18nWrappergetFacesMessage in interface I18ngetFacesMessage in class I18nWrapperfacesContext - The current faces context.locale - The locale of the message.severity - The severity of the message.messageId - The id of the message.public javax.faces.application.FacesMessage getFacesMessage(javax.faces.context.FacesContext facesContext,
Locale locale,
javax.faces.application.FacesMessage.Severity severity,
String messageId,
Object... arguments)
I18nWrappergetFacesMessage in interface I18ngetFacesMessage in class I18nWrapperfacesContext - The current faces context.locale - The locale of the message.severity - The severity of the message.messageId - The id of the message.arguments - The values that are to be inserted according to the MessageFormat
pattern.public String getMessage(javax.faces.context.FacesContext facesContext, Locale locale, String messageId)
I18nWrappergetMessage in interface I18ngetMessage in class I18nWrapperfacesContext - The current faces context.locale - The locale of the message.messageId - The id of the message.public String getMessage(javax.faces.context.FacesContext facesContext, Locale locale, String messageId, Object... arguments)
I18nWrappergetMessage in interface I18ngetMessage in class I18nWrapperfacesContext - The current faces context.locale - The locale of the message.messageId - The id of the message.arguments - The values that are to be inserted according to the MessageFormat
pattern.public I18n getWrapped()
getWrapped in interface javax.faces.FacesWrapper<I18n>getWrapped in class I18nWrapperCopyright © 2016 Liferay, Inc.. All rights reserved.