org.apache.myfaces.renderkit.html
Class HtmlStylesheetRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.renderkit.html.HtmlStylesheetRenderer
All Implemented Interfaces:
EventListener, ComponentSystemEventListener, FacesListener

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Output",
             type="javax.faces.resource.Stylesheet")
public class HtmlStylesheetRenderer
extends Renderer
implements ComponentSystemEventListener

Renderer used by h:outputStylesheet component Note: originally this component required PostBuildComponentTreeOnRestoreViewEvent, but that is no longer true because a tag handler implementing RelocatableResourceHandler interface was associated, so the component is really marked and refreshed.

Since:
2.0
Version:
$Revision: 1569987 $ $Date: 2014-02-19 18:51:39 -0500 (Wed, 19 Feb 2014) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
HtmlStylesheetRenderer()
           
 
Method Summary
 void encodeChildren(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 boolean getRendersChildren()
           
 void processEvent(ComponentSystemEvent event)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlStylesheetRenderer

public HtmlStylesheetRenderer()
Method Detail

processEvent

public void processEvent(ComponentSystemEvent event)
Specified by:
processEvent in interface ComponentSystemEventListener

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class Renderer

encodeChildren

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

encodeEnd

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


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