org.primefaces.renderkit
Class InputRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.primefaces.renderkit.CoreRenderer
          extended by org.primefaces.renderkit.InputRenderer
Direct Known Subclasses:
AutoCompleteRenderer, CalendarRenderer, InputMaskRenderer, InputTextareaRenderer, InputTextRenderer, KeyboardRenderer, PasswordRenderer, RadioButtonRenderer, RatingRenderer, SelectBooleanButtonRenderer, SelectBooleanCheckboxRenderer, SelectRenderer, SpinnerRenderer

public abstract class InputRenderer
extends CoreRenderer


Constructor Summary
InputRenderer()
           
 
Method Summary
protected  Object coerceToModelType(javax.faces.context.FacesContext ctx, Object value, Class itemValueType)
           
protected  javax.faces.model.SelectItem createSelectItem(javax.faces.context.FacesContext context, javax.faces.component.UISelectItems uiSelectItems, Object object)
           
protected  javax.faces.model.SelectItem createSelectItem(javax.faces.context.FacesContext context, javax.faces.component.UISelectItems uiSelectItems, String itemLabel, Object itemValue)
           
protected  javax.faces.convert.Converter findConverter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  javax.faces.convert.Converter findImplicitConverter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
           
protected  String getOptionAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.convert.Converter converter, Object value)
           
protected  List<javax.faces.model.SelectItem> getSelectItems(javax.faces.context.FacesContext context, javax.faces.component.UIInput component)
           
static boolean shouldDecode(javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getActionURL, getEscapedClientId, getOnclickBehaviors, getResourceRequestPath, getResourceURL, isAjaxRequest, isPostBack, isPostback, isValueBlank, isValueEmpty, renderChild, renderChildren, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, shouldRenderAttribute, startScript
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputRenderer

public InputRenderer()
Method Detail

getSelectItems

protected List<javax.faces.model.SelectItem> getSelectItems(javax.faces.context.FacesContext context,
                                                            javax.faces.component.UIInput component)

createSelectItem

protected javax.faces.model.SelectItem createSelectItem(javax.faces.context.FacesContext context,
                                                        javax.faces.component.UISelectItems uiSelectItems,
                                                        Object object)

createSelectItem

protected javax.faces.model.SelectItem createSelectItem(javax.faces.context.FacesContext context,
                                                        javax.faces.component.UISelectItems uiSelectItems,
                                                        String itemLabel,
                                                        Object itemValue)

getOptionAsString

protected String getOptionAsString(javax.faces.context.FacesContext context,
                                   javax.faces.component.UIComponent component,
                                   javax.faces.convert.Converter converter,
                                   Object value)
                            throws javax.faces.convert.ConverterException
Throws:
javax.faces.convert.ConverterException

findImplicitConverter

protected javax.faces.convert.Converter findImplicitConverter(javax.faces.context.FacesContext context,
                                                              javax.faces.component.UIComponent component)

findConverter

protected javax.faces.convert.Converter findConverter(javax.faces.context.FacesContext context,
                                                      javax.faces.component.UIComponent component)

getConvertedValue

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

coerceToModelType

protected Object coerceToModelType(javax.faces.context.FacesContext ctx,
                                   Object value,
                                   Class itemValueType)

shouldDecode

public static boolean shouldDecode(javax.faces.component.UIComponent component)


Copyright © 2012. All Rights Reserved.