org.apache.myfaces.shared_tomahawk.renderkit.html
Class HtmlTextRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase
Direct Known Subclasses:
HtmlTextRenderer

public class HtmlTextRendererBase
extends HtmlRenderer

Version:
$Revision: 954464 $ $Date: 2010-06-14 08:40:54 -0500 (Mon, 14 Jun 2010) $
Author:
Thomas Spiegl (latest modification by $Author: jakobk $), Manfred Geiler

Constructor Summary
HtmlTextRendererBase()
           
 
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 component)
           
 java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.Object submittedValue)
           
protected  java.lang.String getInputHtmlType(javax.faces.component.UIComponent component)
          Returns the HTML type attribute of HTML input element, which is being rendered.
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 component)
           
protected  void renderInput(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  void renderInputBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  void renderInputEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  void renderOutput(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
static void renderOutputText(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.String text, boolean escape)
           
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.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

HtmlTextRendererBase

public HtmlTextRendererBase()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
Throws:
java.io.IOException

renderOutput

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

renderOutputText

public static void renderOutputText(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String text,
                                    boolean escape)
                             throws java.io.IOException
Throws:
java.io.IOException

renderInput

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

renderInputBegin

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

renderInputEnd

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

isDisabled

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

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 component,
                                          java.lang.Object submittedValue)
                                   throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class javax.faces.render.Renderer
Throws:
javax.faces.convert.ConverterException

getInputHtmlType

protected java.lang.String getInputHtmlType(javax.faces.component.UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.



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