org.apache.myfaces.renderkit.html
Class HtmlMessageRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
              extended by org.apache.myfaces.renderkit.html.HtmlMessageRenderer

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Message",
             type="javax.faces.Message")
public class HtmlMessageRenderer
extends HtmlMessageRendererBase

Version:
$Revision: 1230370 $ $Date: 2012-01-11 21:07:58 -0500 (Wed, 11 Jan 2012) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl

Constructor Summary
HtmlMessageRenderer()
           
 
Method Summary
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
protected  String getDetail(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
           
protected  String getSummary(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
           
protected  boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
           
protected  boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
getFor, getStyleAndStyleClass, getTitle, isRedisplay, isShowDetail, isShowSummary, isTooltip, renderMessage, renderMessage, renderMessage, renderSingleFacesMessage, renderSingleFacesMessage, renderSingleFacesMessage, renderSingleFacesMessage
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlMessageRenderer

public HtmlMessageRenderer()
Method Detail

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

getSummary

protected String getSummary(FacesContext facesContext,
                            UIComponent message,
                            FacesMessage facesMessage,
                            String msgClientId)
Specified by:
getSummary in class HtmlMessageRendererBase

getDetail

protected String getDetail(FacesContext facesContext,
                           UIComponent message,
                           FacesMessage facesMessage,
                           String msgClientId)
Specified by:
getDetail in class HtmlMessageRendererBase

isCommonPropertiesOptimizationEnabled

protected boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonPropertiesOptimizationEnabled in class HtmlRenderer

isCommonEventsOptimizationEnabled

protected boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonEventsOptimizationEnabled in class HtmlRenderer


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.