Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam UI JSF2 support 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.ui.util.cdk
Class RendererBase

    java.lang.Object
      javax.faces.render.Renderer
          org.jboss.seam.ui.util.cdk.RendererBase

Direct Known Subclasses:
  ButtonRendererBase, CacheRendererBase, CommandButtonParameterRendererBase, DecorateRendererBase, DefaultActionRendererBase, DownloadRendererBase, EqualityValidatorRendererBase, FileUploadRendererBase, FormattedTextRendererBase, FragmentRendererBase, GraphicImageRendererBase, LinkRendererBase, RemoteRendererBase, ResourceRendererBase, StyleRendererBase, TokenRendererBase, ValidateAllRendererBase

    public abstract class RendererBase

extends javax.faces.render.Renderer

Mangled version of Ajax4Jsf's RendererBase without supporting classes Base Renderer for all chameleon Skin's and components. At most, make all common procedures and realise concrete work in "template" methods.

Version:
  $Revision: 5308 $ $Date: 2007-06-20 04:46:17 +0200 (St, 20 VI 2007) $
Author:
  asmirnov@exadel.com (latest modification by $Author: gavin $)

Field Summary
`protected static String` | `JAVASCRIPT_NAMESPACE` logger for common cases.

Constructor Summary
`RendererBase()`

Method Summary
`void` | `decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`protected void` | `doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)` Template method for custom decoding of concrete renderer.
`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` | `doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`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.
`void` | `encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`protected abstract Class` | `getComponentClass()` Get base component slass , targetted for this renderer.
`static RendererUtils` | `getUtils()`
`protected void` | `preDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`protected void` | `preEncodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `renderChild(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent child)` Render one component and it childrens
`void` | `renderChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)` Render all children for given 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`

Field Detail

### JAVASCRIPT_NAMESPACE

    protected static final String JAVASCRIPT_NAMESPACE

  logger for common cases.

  See Also:
    Constant Field Values

Constructor Detail

### RendererBase

    public RendererBase()

Method Detail

### decode

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

  Overrides:
    `decode` in class `javax.faces.render.Renderer`

### preDecode

    protected void preDecode(javax.faces.context.FacesContext context,
                             javax.faces.component.UIComponent component)

### preEncodeBegin

    protected void preEncodeBegin(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component)
                           throws IOException

  Throws:
    `IOException`

### encodeBegin

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

  Overrides:
    `encodeBegin` in class `javax.faces.render.Renderer`
  Throws:
    `IOException`

### encodeChildren

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

  Overrides:
    `encodeChildren` in class `javax.faces.render.Renderer`
  Throws:
    `IOException`

### encodeEnd

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

  Overrides:
    `encodeEnd` in class `javax.faces.render.Renderer`
  Throws:
    `IOException`

### getComponentClass

    protected abstract Class getComponentClass()

  Get base component slass , targetted for this renderer. Used for check arguments in decode/encode.

### doDecode

    protected void doDecode(javax.faces.context.FacesContext context,
                            javax.faces.component.UIComponent component)

  Template method for custom decoding of concrete renderer. All parameters checking if performed in original decode() method.

  Parameters:
    `context` -
    `component` -

### doEncodeBegin

    protected void doEncodeBegin(javax.faces.context.ResponseWriter writer,
                                 javax.faces.context.FacesContext context,
                                 javax.faces.component.UIComponent component)
                          throws IOException

  Template method for custom start encoding of concrete renderer. All parameters checking and writer is performed in original encodeBegin() method.

  Parameters:
    `writer` -
    `context` -
    `component` -
  Throws:
    `IOException`

### doEncodeChildren

    protected void doEncodeChildren(javax.faces.context.ResponseWriter writer,
                                    javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component)
                             throws IOException

  Parameters:
    `writer` -
    `context` -
    `component` -
  Throws:
    `IOException`

### doEncodeEnd

    protected void doEncodeEnd(javax.faces.context.ResponseWriter writer,
                               javax.faces.context.FacesContext context,
                               javax.faces.component.UIComponent component)
                        throws IOException

  Template method for custom finish encoding of concrete renderer. All parameters checking and writer is performed in original encodeEnd() method.

  Parameters:
    `writer` -
    `context` -
    `component` -
  Throws:
    `IOException`

### renderChildren

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

  Render all children for given component.

  Parameters:
    `facesContext` -
    `component` -
  Throws:
    `IOException`

### renderChild

    public void renderChild(javax.faces.context.FacesContext facesContext,
                            javax.faces.component.UIComponent child)
                     throws IOException

  Render one component and it childrens

  Parameters:
    `facesContext` -
    `child` -
  Throws:
    `IOException`

### getUtils

    public static RendererUtils getUtils()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam UI JSF2 support 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.