org.apache.myfaces.custom.swapimage
Class HtmlSwapImageRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.custom.swapimage.HtmlSwapImageRenderer

public class HtmlSwapImageRenderer
extends HtmlRenderer

Version:
$Revision: 709234 $ $Date: 2008-10-30 15:15:18 -0500 (Thu, 30 Oct 2008) $
Author:
Thomas Spiegl

Constructor Summary
HtmlSwapImageRenderer()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  boolean shouldRenderId(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Returns true if the component should render an ID.
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, 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

HtmlSwapImageRenderer

public HtmlSwapImageRenderer()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent uiComponent)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
java.io.IOException

shouldRenderId

protected boolean shouldRenderId(javax.faces.context.FacesContext context,
                                 javax.faces.component.UIComponent component)
Description copied from class: HtmlRenderer
Returns true if the component should render an ID. Components that deliver events should always return "true".

Overrides:
shouldRenderId in class HtmlRenderer


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