org.apache.myfaces.tobago.renderkit
Class RendererBase

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

public class RendererBase
extends Renderer

Date: Apr 21, 2007 Time: 8:04:25 PM


Constructor Summary
RendererBase()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent component)
           
 int getConfiguredValue(FacesContext facesContext, UIComponent component, String key)
           
 Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
           
 Converter getConverter(FacesContext context, UIComponent component)
           
protected  String getCurrentValue(FacesContext facesContext, UIComponent component)
           
protected  Object getCurrentValueAsObject(UIInput input)
           
protected  String getFormattedValue(FacesContext context, UIComponent component, Object currentValue)
           
 boolean getPrepareRendersChildren()
           
 String getRendererName(String rendererType)
           
protected  Object getValue(UIComponent component)
           
 void onComponentCreated(FacesContext context, UIComponent component)
           
 void prepareRender(FacesContext facesContext, UIComponent component)
           
 void prepareRendersChildren(FacesContext context, UIComponent component)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, encodeEnd, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererBase

public RendererBase()
Method Detail

decode

public void decode(FacesContext facesContext,
                   UIComponent component)
Overrides:
decode in class Renderer

prepareRender

public void prepareRender(FacesContext facesContext,
                          UIComponent component)
                   throws IOException
Throws:
IOException

getPrepareRendersChildren

public boolean getPrepareRendersChildren()

prepareRendersChildren

public void prepareRendersChildren(FacesContext context,
                                   UIComponent component)

getRendererName

public String getRendererName(String rendererType)

getConfiguredValue

public int getConfiguredValue(FacesContext facesContext,
                              UIComponent component,
                              String key)

getCurrentValueAsObject

protected Object getCurrentValueAsObject(UIInput input)

getCurrentValue

protected String getCurrentValue(FacesContext facesContext,
                                 UIComponent component)

getFormattedValue

protected String getFormattedValue(FacesContext context,
                                   UIComponent component,
                                   Object currentValue)
                            throws ConverterException
Throws:
ConverterException

getValue

protected Object getValue(UIComponent component)

getConverter

public Converter getConverter(FacesContext context,
                              UIComponent component)

getConvertedValue

public Object getConvertedValue(FacesContext context,
                                UIComponent component,
                                Object submittedValue)
                         throws ConverterException
Overrides:
getConvertedValue in class Renderer
Throws:
ConverterException

onComponentCreated

public void onComponentCreated(FacesContext context,
                               UIComponent component)


Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.