org.apache.cocoon.faces.samples.components.renderkit
Class MapRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.cocoon.faces.samples.components.renderkit.BaseRenderer
          extended by org.apache.cocoon.faces.samples.components.renderkit.MapRenderer

public class MapRenderer
extends BaseRenderer

Renderer for MapComponent in an HTML environment.


Field Summary
 
Fields inherited from class org.apache.cocoon.faces.samples.components.renderkit.BaseRenderer
BUNDLE_ATTR
 
Constructor Summary
MapRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Decode the incoming request parameters to determine which hotspot (if any) has been selected.
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode the beginning of this component.
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode the children of this component.
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode the ending of this component.
 
Methods inherited from class org.apache.cocoon.faces.samples.components.renderkit.BaseRenderer
convertClientId, encodeRecursive
 
Methods inherited from class javax.faces.render.Renderer
getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapRenderer

public MapRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)

Decode the incoming request parameters to determine which hotspot (if any) has been selected.

Overrides:
decode in class javax.faces.render.Renderer
Parameters:
context - FacesContextfor the current request
component - UIComponent to be decoded

encodeBegin

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

Encode the beginning of this component.

Overrides:
encodeBegin in class javax.faces.render.Renderer
Parameters:
context - FacesContextfor the current request
component - UIComponent to be decoded
Throws:
IOException

encodeChildren

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

Encode the children of this component.

Overrides:
encodeChildren in class javax.faces.render.Renderer
Parameters:
context - FacesContextfor the current request
component - UIComponent to be decoded
Throws:
IOException

encodeEnd

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

Encode the ending of this component.

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
context - FacesContextfor the current request
component - UIComponent to be decoded
Throws:
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.