Home » Mojarra-2.0.1 » javax » faces » component » [javadoc | source]
javax.faces.component
class: MessageFactory [javadoc | source]
java.lang.Object
   javax.faces.component.MessageFactory

supported filters: package and protection.

Nested Class Summary:
static class  MessageFactory.BindingFacesMessage  This class overrides FacesMessage to provide the evaluation of binding expressions in addition to Strings. It is often the case, that a binding expression may reference a localized property value that would be used as a substitution parameter in the message. For example: #{bundle.userLabel} "bundle" may not be available until the page is rendered. The "late" binding evaluation in getSummary and getDetail allow the expression to be evaluated when that property is available. 
Method from javax.faces.component.MessageFactory Summary:
getApplication,   getCurrentLoader,   getLabel,   getMessage,   getMessage,   getMessage,   getMessage,   getMessage,   getMessage
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.component.MessageFactory Detail:
 protected static Application getApplication() 
 protected static ClassLoader getCurrentLoader(Object fallbackClass) 
 static Object getLabel(FacesContext context,
    UIComponent component) 

    Returns the label property from the specified component.

 static FacesMessage getMessage(String messageId,
    Object params) 

    This version of getMessage() is used for localizing implementation specific messages.

 static FacesMessage getMessage(String messageId,
    Severity severity,
    Object params) 
 static FacesMessage getMessage(Locale locale,
    String messageId,
    Object params) 

    Creates and returns a FacesMessage for the specified Locale.

 static FacesMessage getMessage(FacesContext context,
    String messageId,
    Object params) 

    Creates and returns a FacesMessage for the specified Locale.

 static FacesMessage getMessage(Locale locale,
    String messageId,
    Severity severity,
    Object params) 
 static FacesMessage getMessage(FacesContext context,
    String messageId,
    Severity severity,
    Object params)