org.apache.myfaces.shared.renderkit.html
Class HtmlSecretRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared.renderkit.html.HtmlSecretRendererBase

public class HtmlSecretRendererBase
extends HtmlRenderer

see Spec.1.0 EA - JSF.7.6.4 Renderer Types for UIInput Components

Version:
$Revision: 1230370 $ $Date: 2012-01-11 21:07:58 -0500 (Wed, 11 Jan 2012) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl, Anton Koinov

Constructor Summary
HtmlSecretRendererBase()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent uiComponent)
           
 Object getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue)
           
protected  boolean isAutocompleteOff(FacesContext facesContext, UIComponent component)
          If autocomplete is "on" or not set, do not render it
protected  boolean isDisabled(FacesContext facesContext, UIComponent uiComponent)
           
protected  void renderInputBegin(FacesContext facesContext, UIComponent uiComponent)
           
protected  void renderInputEnd(FacesContext facesContext, UIComponent uiComponent)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlSecretRendererBase

public HtmlSecretRendererBase()
Method Detail

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent uiComponent)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

renderInputBegin

protected void renderInputBegin(FacesContext facesContext,
                                UIComponent uiComponent)
                         throws IOException
Throws:
IOException

renderInputEnd

protected void renderInputEnd(FacesContext facesContext,
                              UIComponent uiComponent)
                       throws IOException
Throws:
IOException

isDisabled

protected boolean isDisabled(FacesContext facesContext,
                             UIComponent uiComponent)

isAutocompleteOff

protected boolean isAutocompleteOff(FacesContext facesContext,
                                    UIComponent component)
If autocomplete is "on" or not set, do not render it


decode

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

getConvertedValue

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


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