org.sakaiproject.tool.assessment.jsf.renderer
Class HideDivisionRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.sakaiproject.tool.assessment.jsf.renderer.HideDivisionRenderer

public class HideDivisionRenderer
extends javax.faces.render.Renderer

Description:

Render a stylesheet link for the value of our component's path attribute, prefixed by the context path of this web application.

Copyright: Copyright (c) 2004

Organization: Sakai Project

Version:
$Id: HideDivisionRenderer.java 96482 2011-08-05 22:59:49Z ktsao@stanford.edu $
Author:
Ed Smiley

Constructor Summary
HideDivisionRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Faces render output method .
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Simple passthru.
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Faces render output method to output script tag.
 boolean supportsComponentType(javax.faces.component.UIComponent component)
           
 
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

HideDivisionRenderer

public HideDivisionRenderer()
Method Detail

supportsComponentType

public boolean supportsComponentType(javax.faces.component.UIComponent component)

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
                    throws IOException
Simple passthru.

Overrides:
encodeChildren in class javax.faces.render.Renderer
Parameters:
context -
component -
Throws:
IOException

encodeBegin

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

Faces render output method .

Method Generator: org.sakaiproject.tool.assessment.devtoolsRenderMaker

Overrides:
encodeBegin in class javax.faces.render.Renderer
Parameters:
context - FacesContext for the current request
component - UIComponent being rendered
Throws:
IOException - if an input/output error occurs

encodeEnd

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

Faces render output method to output script tag.

Method Generator: org.sakaiproject.tool.assessment.devtoolsRenderMaker

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
context - FacesContext for the current request
component - UIComponent being rendered
Throws:
IOException - if an input/output error occurs


Copyright © 2005-2012 Sakai Project. All Rights Reserved.