org.apache.struts.faces.renderer
Class StylesheetRenderer

java.lang.Object
  extended byjavax.faces.render.Renderer
      extended byorg.apache.struts.faces.renderer.AbstractRenderer
          extended byorg.apache.struts.faces.renderer.StylesheetRenderer

public class StylesheetRenderer
extends AbstractRenderer

Renderer implementation for the stylesheet tag from the Struts-Faces Integration Library.

Version:
$Rev: 54934 $ $Date: 2004-10-16 18:07:50 +0100 (Sat, 16 Oct 2004) $

Field Summary
private static org.apache.commons.logging.Log log
          The Log instance for this class.
 
Constructor Summary
StylesheetRenderer()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Render a relative HTML <link> element for a text/css stylesheet at the specified context-relative path.
 
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
decode, encodeBegin, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValue
 
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

private static org.apache.commons.logging.Log log

The Log instance for this class.

Constructor Detail

StylesheetRenderer

public StylesheetRenderer()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException

Render a relative HTML <link> element for a text/css stylesheet at the specified context-relative path.

Overrides:
encodeEnd in class AbstractRenderer
Parameters:
context - FacesContext for the request we are processing
component - UIComponent to be rendered
Throws:
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context or component is null


Copyright ? 2003-2004 - The Apache Software Foundation