org.apache.myfaces.html5.renderkit.input
Class HtmlInputEmailRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.html5.renderkit.input.Html5BaseInputTextRenderer
          extended by org.apache.myfaces.html5.renderkit.input.HtmlInputEmailRenderer

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Input",
             type="org.apache.myfaces.html5.Email")
public class HtmlInputEmailRenderer
extends Html5BaseInputTextRenderer

Renderer for < hx:inputEmail > component.

Author:
Ali Ok

Constructor Summary
HtmlInputEmailRenderer()
           
 
Method Summary
protected  Class<? extends javax.faces.component.html.HtmlInputText> getComponentClass()
          Component class to check the type of rendered component.
 Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object submittedValue)
           
protected  Map<String,String> getExtraPassThroughAttributes()
          Returns pass through attributes that are not present in HtmlInputText Child component classes can override this method to modify pass through attributes, which are rendered at Html5BaseInputTextRenderer.renderInputBegin(FacesContext, UIComponent)
protected  String getInputHtmlType(Html5BaseInputText component)
          Returns the HTML type attribute of HTML input element, which is being rendered.
 SuggestionRendererHelper getSuggestionRendererHelper(Html5BaseInputText component)
          Returns the SuggestionRendererHelper instance, to render suggestion related markup.
protected  void renderInputBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class org.apache.myfaces.html5.renderkit.input.Html5BaseInputTextRenderer
encodeEnd, getRendersChildren, renderInput, renderInputEnd, renderPassThruAttrsAndEvents
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlInputEmailRenderer

public HtmlInputEmailRenderer()
Method Detail

getConvertedValue

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

renderInputBegin

protected void renderInputBegin(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent)
                         throws IOException
Overrides:
renderInputBegin in class Html5BaseInputTextRenderer
Throws:
IOException

getExtraPassThroughAttributes

protected Map<String,String> getExtraPassThroughAttributes()
Description copied from class: Html5BaseInputTextRenderer
Returns pass through attributes that are not present in HtmlInputText Child component classes can override this method to modify pass through attributes, which are rendered at Html5BaseInputTextRenderer.renderInputBegin(FacesContext, UIComponent)

Specified by:
getExtraPassThroughAttributes in class Html5BaseInputTextRenderer

getInputHtmlType

protected String getInputHtmlType(Html5BaseInputText component)
Description copied from class: Html5BaseInputTextRenderer
Returns the HTML type attribute of HTML input element, which is being rendered.

Specified by:
getInputHtmlType in class Html5BaseInputTextRenderer

getComponentClass

protected Class<? extends javax.faces.component.html.HtmlInputText> getComponentClass()
Description copied from class: Html5BaseInputTextRenderer
Component class to check the type of rendered component.

Specified by:
getComponentClass in class Html5BaseInputTextRenderer

getSuggestionRendererHelper

public SuggestionRendererHelper getSuggestionRendererHelper(Html5BaseInputText component)
Description copied from class: Html5BaseInputTextRenderer
Returns the SuggestionRendererHelper instance, to render suggestion related markup.

Specified by:
getSuggestionRendererHelper in class Html5BaseInputTextRenderer


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.