com.esri.adf.web.faces.renderkit.xml
Class ToolbarRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.esri.adf.web.faces.renderkit.xml.ToolbarRenderer

public class ToolbarRenderer
extends javax.faces.render.Renderer

A renderer for the ToolbarControl. Generates an XML representation of the control and then uses XSLT to transform it to the required markup.


Constructor Summary
ToolbarRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Determines if the associated toolbar control has to handle this event.
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Begin the encoding of a given context.
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Encodes the children of a given context.
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Generates an XML representation of the ToolbarControl and then encodes using XSLT to transform to the required markup.
 
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

ToolbarRenderer

public ToolbarRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
Determines if the associated toolbar control has to handle this event.

Overrides:
decode in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent component)
Begin the encoding of a given context. Currently, this is an empty implementation and throws an IOException.

Overrides:
encodeBegin in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext,
                           javax.faces.component.UIComponent component)
Encodes the children of a given context. Currently, this is an empty implementation and throws an IOException.

Overrides:
encodeChildren in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent component)
               throws IOException
Generates an XML representation of the ToolbarControl and then encodes using XSLT to transform to the required markup.

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
facesContext - the FacesContext
component - the JSF component
Throws:
IOException