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: 954464 $ $Date: 2010-06-14 08:40:54 -0500 (Mon, 14 Jun 2010) $
Author:
Manfred Geiler (latest modification by $Author: jakobk $), Thomas Spiegl, Anton Koinov

Constructor Summary
HtmlSecretRendererBase()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.Object submittedValue)
           
protected  boolean isAutocompleteOff(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
          If autocomplete is "on" or not set, do not render it
protected  boolean isDisabled(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  void renderInputBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  void renderInputEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, 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(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent uiComponent)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
java.io.IOException

renderInputBegin

protected void renderInputBegin(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent)
                         throws java.io.IOException
Throws:
java.io.IOException

renderInputEnd

protected void renderInputEnd(javax.faces.context.FacesContext facesContext,
                              javax.faces.component.UIComponent uiComponent)
                       throws java.io.IOException
Throws:
java.io.IOException

isDisabled

protected boolean isDisabled(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent uiComponent)

isAutocompleteOff

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


decode

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

getConvertedValue

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


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