org.apache.struts.faces.renderer
Class WriteRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.struts.faces.renderer.AbstractRenderer
          extended by org.apache.struts.faces.renderer.WriteRenderer
Direct Known Subclasses:
MessageRenderer

public class WriteRenderer
extends AbstractRenderer

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

Version:
$Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $

Constructor Summary
WriteRenderer()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode the specified text to our response.
protected  String getText(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Return the text to be rendered for this component, optionally filtered if requested.
 
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
 

Constructor Detail

WriteRenderer

public WriteRenderer()
Method Detail

encodeEnd

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

Encode the specified text to our response.

Overrides:
encodeEnd in class AbstractRenderer
Parameters:
context - FacesContext for the response we are creating
component - Component to be rendered
Throws:
IOException - if an input/output error occurs
NullPointerException - if context or component is null

getText

protected String getText(javax.faces.context.FacesContext context,
                         javax.faces.component.UIComponent component)

Return the text to be rendered for this component, optionally filtered if requested.

Parameters:
context - FacesContext for the response we are creating
component - Component to be rendered


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.