Package org.primefaces.renderkit
Class UINotificationRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.UINotificationRenderer
-
- Direct Known Subclasses:
GrowlRenderer
,MessageRenderer
,MessagesRenderer
,StaticMessageRenderer
public class UINotificationRenderer extends CoreRenderer
-
-
Constructor Summary
Constructors Constructor Description UINotificationRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getClientSideSeverity(String severity)
protected String
getSeverityName(javax.faces.application.FacesMessage message)
protected String
getSeverityText(javax.faces.application.FacesMessage message)
Gets the severity in I18N human readable text for ARIA screen readers.protected boolean
shouldRender(UINotification component, javax.faces.application.FacesMessage message, String severityName)
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
shouldRender
protected boolean shouldRender(UINotification component, javax.faces.application.FacesMessage message, String severityName)
-
getSeverityName
protected String getSeverityName(javax.faces.application.FacesMessage message)
-
getSeverityText
protected String getSeverityText(javax.faces.application.FacesMessage message)
Gets the severity in I18N human readable text for ARIA screen readers.- Parameters:
message
- the message to process- Returns:
- the human readable text for the severity
-
-