Constructor and Description |
---|
I18nWrapper() |
Modifier and Type | Method and Description |
---|---|
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)
|
abstract I18n |
getWrapped() |
public abstract I18n getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<I18n>
public javax.faces.application.FacesMessage getFacesMessage(javax.faces.context.FacesContext facesContext, Locale locale, javax.faces.application.FacesMessage.Severity severity, String messageId)
getFacesMessage
in interface I18n
facesContext
- 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)
getFacesMessage
in interface I18n
facesContext
- 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)
getMessage
in interface I18n
facesContext
- 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)
getMessage
in interface I18n
facesContext
- 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.Copyright © 2018 Liferay, Inc.. All rights reserved.