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: 1239799 $ $Date: 2012-02-02 15:00:42 -0500 (Thu, 02 Feb 2012) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $), 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)
           
 Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object submittedValue)
           
protected  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  boolean isRenderOutputEventAttributes()
           
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, String text, boolean escape)
           
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.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

HtmlTextRendererBase

public HtmlTextRendererBase()
Method Detail

encodeEnd

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

renderOutput

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

isRenderOutputEventAttributes

protected boolean isRenderOutputEventAttributes()

renderInput

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

renderInputBegin

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

renderInputEnd

protected void renderInputEnd(javax.faces.context.FacesContext facesContext,
                              javax.faces.component.UIComponent component)
                       throws IOException
Throws:
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 Object getConvertedValue(javax.faces.context.FacesContext facesContext,
                                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

getInputHtmlType

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


renderOutputText

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


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