public class ParametrizableFacesMessage extends FacesMessage
FacesMessage.Severity
FACES_MESSAGES, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN, VALUES, VALUES_MAP
Constructor and Description |
---|
ParametrizableFacesMessage(FacesMessage.Severity severity,
String summary,
String detail,
Object[] args,
Locale locale) |
ParametrizableFacesMessage(String summary,
String detail,
Object[] args,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
getDetail() |
String |
getSummary()
Return the localized summary text.
|
String |
getUnformattedDetail() |
String |
getUnformattedSummary() |
void |
setDetail(String detail)
Set the localized detail text.
|
void |
setSummary(String summary)
Set the localized summary text.
|
getSeverity, isRendered, rendered, setSeverity
public ParametrizableFacesMessage(String summary, String detail, Object[] args, Locale locale)
public ParametrizableFacesMessage(FacesMessage.Severity severity, String summary, String detail, Object[] args, Locale locale)
public String getDetail()
getDetail
in class FacesMessage
public void setDetail(String detail)
FacesMessage
setDetail
in class FacesMessage
detail
- - The new localized detail textpublic String getUnformattedDetail()
public String getSummary()
FacesMessage
getSummary
in class FacesMessage
public void setSummary(String summary)
FacesMessage
setSummary
in class FacesMessage
summary
- - The new localized summary textpublic String getUnformattedSummary()
Copyright © 2021 The Apache Software Foundation. All rights reserved.