org.jboss.seam.ui.renderkit
Class StyleRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.jboss.seam.ui.util.cdk.RendererBase
          extended by org.jboss.seam.ui.renderkit.StyleRendererBase
Direct Known Subclasses:
DivRendererBase, SpanRendererBase

public abstract class StyleRendererBase
extends RendererBase


Field Summary
 
Fields inherited from class org.jboss.seam.ui.util.cdk.RendererBase
JAVASCRIPT_NAMESPACE
 
Constructor Summary
StyleRendererBase()
           
 
Method Summary
protected  void doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Template method for custom start encoding of concrete renderer.
protected  void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Template method for custom finish encoding of concrete renderer.
abstract  void endElement(javax.faces.context.ResponseWriter writer)
           
abstract  void startElement(javax.faces.context.ResponseWriter writer, UIStyle style)
           
 
Methods inherited from class org.jboss.seam.ui.util.cdk.RendererBase
decode, doDecode, doEncodeChildren, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getUtils, preDecode, preEncodeBegin, renderChild, renderChildren
 
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

StyleRendererBase

public StyleRendererBase()
Method Detail

doEncodeBegin

protected void doEncodeBegin(javax.faces.context.ResponseWriter writer,
                             javax.faces.context.FacesContext context,
                             javax.faces.component.UIComponent component)
                      throws java.io.IOException
Description copied from class: RendererBase
Template method for custom start encoding of concrete renderer. All parameters checking and writer is performed in original encodeBegin() method.

Overrides:
doEncodeBegin in class RendererBase
Throws:
java.io.IOException

doEncodeEnd

protected void doEncodeEnd(javax.faces.context.ResponseWriter writer,
                           javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
                    throws java.io.IOException
Description copied from class: RendererBase
Template method for custom finish encoding of concrete renderer. All parameters checking and writer is performed in original encodeEnd() method.

Overrides:
doEncodeEnd in class RendererBase
Throws:
java.io.IOException

startElement

public abstract void startElement(javax.faces.context.ResponseWriter writer,
                                  UIStyle style)
                           throws java.io.IOException
Throws:
java.io.IOException

endElement

public abstract void endElement(javax.faces.context.ResponseWriter writer)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 JBoss. All Rights Reserved.