|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.message.Message
org.springframework.faces.webflow.FlowFacesContext.FlowFacesMessage
protected static class FlowFacesContext.FlowFacesMessage
Adapter class to convert a FacesMessage to a Spring Message. This adapter is required to allow
FacesMessages to be registered with Spring whilst still retaining their mutable nature. It is not
uncommon for FacesMessages to be changed after they have been added to a FacesContext, for
example, from a PhaseListener.
NOTE: Only FacesMessage instances are directly adapted, any subclasses will be
converted to the standard FacesMessage implementation. This is to protect against bugs such as SWF-1073.
For convenience this class also implements the MessageResolver interface.
| Constructor Summary | |
|---|---|
FlowFacesContext.FlowFacesMessage(FlowFacesContext.FacesMessageSource source,
javax.faces.application.FacesMessage message)
|
|
| Method Summary | |
|---|---|
javax.faces.application.FacesMessage |
getFacesMessage()
|
Severity |
getSeverity()
The severity of this message. |
java.lang.String |
getText()
The message text. |
Message |
resolveMessage(org.springframework.context.MessageSource messageSource,
java.util.Locale locale)
Resolve the message from the message source using the current locale. |
java.lang.String |
toString()
|
| Methods inherited from class org.springframework.binding.message.Message |
|---|
getSource, hasField |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowFacesContext.FlowFacesMessage(FlowFacesContext.FacesMessageSource source,
javax.faces.application.FacesMessage message)
| Method Detail |
|---|
public java.lang.String getText()
Message
getText in class Messagepublic Severity getSeverity()
Message
getSeverity in class Messagepublic java.lang.String toString()
toString in class Message
public Message resolveMessage(org.springframework.context.MessageSource messageSource,
java.util.Locale locale)
MessageResolver
resolveMessage in interface MessageResolvermessageSource - the message source, an abstraction for a resource bundlelocale - the current locale of this request
public javax.faces.application.FacesMessage getFacesMessage()
FacesMessage adapted by this class.
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||