org.richfaces.renderkit
Class MessageRendererBase
java.lang.Object
javax.faces.render.Renderer
org.richfaces.renderkit.MessageRendererBase
- Direct Known Subclasses:
- HtmlMessageRenderer, HtmlMessagesRenderer
public class MessageRendererBase
- extends javax.faces.render.Renderer
- Author:
- asmirnov@exadel.com
Method Summary |
protected void |
encodeMessage(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
|
protected void |
encodeScript(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected Iterator<MessageForRender> |
getMessages(javax.faces.context.FacesContext context,
String forClientId,
javax.faces.component.UIComponent component)
|
protected String |
getMsgClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
|
protected String |
getMsgStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
|
protected Iterable<MessageForRender> |
getVisibleMessages(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
TODO - make Generator aware of Iterator. |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageRendererBase
public MessageRendererBase()
getMessages
protected Iterator<MessageForRender> getMessages(javax.faces.context.FacesContext context,
String forClientId,
javax.faces.component.UIComponent component)
getVisibleMessages
protected Iterable<MessageForRender> getVisibleMessages(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
TODO - make Generator aware of Iterator.
- Parameters:
context
- component
-
- Returns:
encodeMessage
protected void encodeMessage(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
throws IOException
- Throws:
IOException
encodeScript
protected void encodeScript(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Throws:
IOException
getMsgClass
protected String getMsgClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
throws IOException
- Throws:
IOException
getMsgStyle
protected String getMsgStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object msg)
throws IOException
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.