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

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.AreaRenderer

public class AreaRenderer
extends BaseRenderer

This class converts the internal representation of a UIArea component into the output stream associated with the response to a particular request.


Field Summary
 
Fields inherited from class org.apache.cocoon.faces.samples.components.renderkit.BaseRenderer
BUNDLE_ATTR
 
Constructor Summary
AreaRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          No decoding is required.
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          No begin encoding is required.
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          No children encoding is required.
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Encode 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

AreaRenderer

public AreaRenderer()
Method Detail

decode

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

No decoding is required.

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

No begin encoding is required.

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

No children encoding is required.

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 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.