org.apache.myfaces.tobago.renderkit
Class AbstractRendererBaseWrapper

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
          extended by org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper
Direct Known Subclasses:
AbstractLayoutableRendererBaseWrapper, FormRenderer, ScriptRenderer, StyleRenderer

public abstract class AbstractRendererBaseWrapper
extends RendererBase


Constructor Summary
AbstractRendererBaseWrapper()
           
 
Method Summary
 String convertClientId(javax.faces.context.FacesContext facesContext, String clientId)
           
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object submittedValue)
           
 javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  String getCurrentValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  Object getCurrentValueAsObject(javax.faces.component.UIInput input)
           
 boolean getPrepareRendersChildren()
           
protected  RendererBase getRenderer(javax.faces.context.FacesContext facesContext)
           
protected abstract  String getRendererType()
           
 boolean getRendersChildren()
           
protected  Object getValue(javax.faces.component.UIComponent component)
           
 void onComponentCreated(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, javax.faces.component.UIComponent parent)
           
 void prepareRender(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          Hook to e. g. register resources, etc.
 void prepareRendersChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
getConfiguredValue, getFormattedValue, getRendererName, getResourceManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRendererBaseWrapper

public AbstractRendererBaseWrapper()
Method Detail

onComponentCreated

public final void onComponentCreated(javax.faces.context.FacesContext facesContext,
                                     javax.faces.component.UIComponent component,
                                     javax.faces.component.UIComponent parent)
Overrides:
onComponentCreated in class RendererBase

prepareRender

public final void prepareRender(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent component)
                         throws IOException
Description copied from class: RendererBase
Hook to e. g. register resources, etc.

Overrides:
prepareRender in class RendererBase
Throws:
IOException

getPrepareRendersChildren

public final boolean getPrepareRendersChildren()
Overrides:
getPrepareRendersChildren in class RendererBase

prepareRendersChildren

public final void prepareRendersChildren(javax.faces.context.FacesContext context,
                                         javax.faces.component.UIComponent component)
                                  throws IOException
Overrides:
prepareRendersChildren in class RendererBase
Throws:
IOException

getRendersChildren

public final boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.render.Renderer

decode

public final void decode(javax.faces.context.FacesContext facesContext,
                         javax.faces.component.UIComponent component)
Overrides:
decode in class javax.faces.render.Renderer

getCurrentValueAsObject

protected final Object getCurrentValueAsObject(javax.faces.component.UIInput input)
Overrides:
getCurrentValueAsObject in class RendererBase

getCurrentValue

protected final String getCurrentValue(javax.faces.context.FacesContext facesContext,
                                       javax.faces.component.UIComponent component)
Overrides:
getCurrentValue in class RendererBase

getValue

protected final Object getValue(javax.faces.component.UIComponent component)
Overrides:
getValue in class RendererBase

getConverter

public final javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext facesContext,
                                                        javax.faces.component.UIComponent component)
Overrides:
getConverter in class RendererBase

getConvertedValue

public final Object getConvertedValue(javax.faces.context.FacesContext facesContext,
                                      javax.faces.component.UIComponent component,
                                      Object submittedValue)
                               throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class RendererBase
Throws:
javax.faces.convert.ConverterException

encodeBegin

public final void encodeBegin(javax.faces.context.FacesContext facesContext,
                              javax.faces.component.UIComponent component)
                       throws IOException
Overrides:
encodeBegin in class javax.faces.render.Renderer
Throws:
IOException

encodeChildren

public final void encodeChildren(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent component)
                          throws IOException
Overrides:
encodeChildren in class javax.faces.render.Renderer
Throws:
IOException

encodeEnd

public final void encodeEnd(javax.faces.context.FacesContext facesContext,
                            javax.faces.component.UIComponent component)
                     throws IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
IOException

convertClientId

public final String convertClientId(javax.faces.context.FacesContext facesContext,
                                    String clientId)
Overrides:
convertClientId in class javax.faces.render.Renderer

getRenderer

protected final RendererBase getRenderer(javax.faces.context.FacesContext facesContext)

getRendererType

protected abstract String getRendererType()


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.