org.bejug.javacareers.common.view.jsf.utils
Class HtmlRenderer

java.lang.Object
  extended byjavax.faces.render.Renderer
      extended byorg.bejug.javacareers.common.view.jsf.utils.HtmlRenderer
Direct Known Subclasses:
CommentRenderer

public class HtmlRenderer
extends javax.faces.render.Renderer

This class holds methods common to the component renderers

Version:
$Revision: 1.9 $ - $Date: 2005/09/06 13:22:50 $:
Author:
: Peter Symoens (Last modified by $Author: schauwvliege $)

Constructor Summary
HtmlRenderer()
           
 
Method Summary
protected  void closeTable()
          Encode's the html close table tag.
protected  void closeTableCell()
          Encode's the html close table cell tag.
protected  void closeTableRow()
          Encode's the html close table row tag.
 javax.faces.component.UIComponent getComponent()
           
protected  void newLine()
           
protected  void openTable()
          Encode's the html open table tag.
protected  void openTableCell()
          Encode's the html open table cell tag.
protected  void openTableRow()
          Encode's the html open table row tag.
 void setComponent(javax.faces.component.UIComponent component)
           
 void setWriter(javax.faces.context.ResponseWriter writer)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlRenderer

public HtmlRenderer()
Method Detail

openTable

protected void openTable()
                  throws java.io.IOException
Encode's the html open table tag.

Throws:
java.io.IOException - e

closeTable

protected void closeTable()
                   throws java.io.IOException
Encode's the html close table tag.

Throws:
java.io.IOException - e

openTableCell

protected void openTableCell()
                      throws java.io.IOException
Encode's the html open table cell tag.

Throws:
java.io.IOException - e

openTableRow

protected void openTableRow()
                     throws java.io.IOException
Encode's the html open table row tag.

Throws:
java.io.IOException - e

closeTableRow

protected void closeTableRow()
                      throws java.io.IOException
Encode's the html close table row tag.

Throws:
java.io.IOException - e

closeTableCell

protected void closeTableCell()
                       throws java.io.IOException
Encode's the html close table cell tag.

Throws:
java.io.IOException - e

newLine

protected void newLine()
                throws java.io.IOException
Throws:
java.io.IOException - e

setWriter

public void setWriter(javax.faces.context.ResponseWriter writer)
Parameters:
writer - The ResponseWriter to set.

setComponent

public void setComponent(javax.faces.component.UIComponent component)
Parameters:
component - The Component to set.

getComponent

public javax.faces.component.UIComponent getComponent()
Returns:
the UIComponent this renderer is defined for.


Copyright © 2005-2006 BeJUG. All Rights Reserved.