Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit
Class RichMessageBaseRenderer

    java.lang.Object
      javax.faces.render.Renderer
          org.ajax4jsf.renderkit.RendererBase
              org.ajax4jsf.renderkit.HeaderResourcesRendererBase
                  org.richfaces.renderkit.RichMessageBaseRenderer

All Implemented Interfaces:
  org.ajax4jsf.renderkit.ChameleonRenderer, org.ajax4jsf.renderkit.HeaderResourceProducer, org.ajax4jsf.resource.ResourceProduser

Direct Known Subclasses:
  HtmlRichMessageRenderer, HtmlRichMessagesRenderer

    public abstract class RichMessageBaseRenderer

extends org.ajax4jsf.renderkit.HeaderResourcesRendererBase

Author:
  Anton Belevich

Field Summary
`static java.lang.String` | `COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE`
`protected static org.apache.commons.logging.Log` | `log`
`static java.lang.String` | `NULL_PARAMETER_ERROR_MESSAGE`

Fields inherited from class org.ajax4jsf.renderkit.RendererBase
`JAVASCRIPT_NAMESPACE`

Constructor Summary
`RichMessageBaseRenderer()`

Method Summary
`protected javax.faces.component.UIComponent` | `findComponentBelow(javax.faces.component.UIComponent startComponent, java.lang.String forClientId)`
`protected javax.faces.component.UIComponent` | `findForComponent(javax.faces.context.FacesContext context, java.lang.String forClientId, javax.faces.component.UIComponent component)`
`protected java.util.Iterator` | `getMessageIterator(javax.faces.context.FacesContext context, java.lang.String forClientId, javax.faces.component.UIComponent component)`
`protected void` | `outerStyles(javax.faces.component.UIComponent component, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.application.FacesMessage facesMsg)`
`protected void` | `renderLabel(javax.faces.component.UIComponent component, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.application.FacesMessage facesMsg)`
`abstract void` | `renderLabelHtml(javax.faces.component.UIComponent component, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.application.FacesMessage facesMsg, java.lang.String labelClass, java.lang.String labelStyle, java.lang.String passLabel)`
`protected void` | `renderMarkerFacet(javax.faces.component.UIComponent uiMsg, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.application.FacesMessage facesMsg)`
`abstract void` | `renderMarkerHtml(javax.faces.component.UIComponent component, javax.faces.component.UIComponent markerFacet, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, java.lang.String markerClass, java.lang.String markerStyle)`
`abstract void` | `renderOuterStyles(javax.faces.component.UIComponent component, javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, java.lang.String outerStyle, java.lang.String outerClass)`

Methods inherited from class org.ajax4jsf.renderkit.HeaderResourcesRendererBase
`encodeResourcesArray, getHeaderScripts, getHeaderStyles, getScripts, getStyles, preEncodeBegin`

Methods inherited from class org.ajax4jsf.renderkit.RendererBase
`addResource, decode, doDecode, doEncodeBegin, doEncodeChildren, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResource, getSkin, getUtils, preDecode, renderChild, renderChildren`

Methods inherited from class javax.faces.render.Renderer
`convertClientId, getConvertedValue, getRendersChildren`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### log

    protected static final org.apache.commons.logging.Log log

### NULL_PARAMETER_ERROR_MESSAGE

    public static final java.lang.String NULL_PARAMETER_ERROR_MESSAGE

See Also:
  Constant Field Values

### COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE

    public static final java.lang.String COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE

See Also:
  Constant Field Values

Constructor Detail

### RichMessageBaseRenderer

    public RichMessageBaseRenderer()

Method Detail

### getMessageIterator

    protected java.util.Iterator getMessageIterator(javax.faces.context.FacesContext context,
                                                    java.lang.String forClientId,
                                                    javax.faces.component.UIComponent component)
                                             throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderMarkerFacet

    protected void renderMarkerFacet(javax.faces.component.UIComponent uiMsg,
                                     javax.faces.context.FacesContext context,
                                     javax.faces.context.ResponseWriter writer,
                                     javax.faces.application.FacesMessage facesMsg)
                              throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderLabel

    protected void renderLabel(javax.faces.component.UIComponent component,
                               javax.faces.context.FacesContext context,
                               javax.faces.context.ResponseWriter writer,
                               javax.faces.application.FacesMessage facesMsg)
                        throws java.io.IOException

  Throws:
    `java.io.IOException`

### outerStyles

    protected void outerStyles(javax.faces.component.UIComponent component,
                               javax.faces.context.FacesContext context,
                               javax.faces.context.ResponseWriter writer,
                               javax.faces.application.FacesMessage facesMsg)
                        throws java.io.IOException

  Throws:
    `java.io.IOException`

### findForComponent

    protected javax.faces.component.UIComponent findForComponent(javax.faces.context.FacesContext context,
                                                                 java.lang.String forClientId,
                                                                 javax.faces.component.UIComponent component)
                                                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### findComponentBelow

    protected javax.faces.component.UIComponent findComponentBelow(javax.faces.component.UIComponent startComponent,
                                                                   java.lang.String forClientId)

### renderMarkerHtml

    public abstract void renderMarkerHtml(javax.faces.component.UIComponent component,
                                          javax.faces.component.UIComponent markerFacet,
                                          javax.faces.context.FacesContext context,
                                          javax.faces.context.ResponseWriter writer,
                                          java.lang.String markerClass,
                                          java.lang.String markerStyle)
                                   throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderLabelHtml

    public abstract void renderLabelHtml(javax.faces.component.UIComponent component,
                                         javax.faces.context.FacesContext context,
                                         javax.faces.context.ResponseWriter writer,
                                         javax.faces.application.FacesMessage facesMsg,
                                         java.lang.String labelClass,
                                         java.lang.String labelStyle,
                                         java.lang.String passLabel)
                                  throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderOuterStyles

    public abstract void renderOuterStyles(javax.faces.component.UIComponent component,
                                           javax.faces.context.FacesContext context,
                                           javax.faces.context.ResponseWriter writer,
                                           java.lang.String outerStyle,
                                           java.lang.String outerClass)
                                    throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007. All Rights Reserved.