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

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.HtmlTextRendererBase

public class HtmlTextRendererBase
extends HtmlRenderer


Field Summary
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
HtmlTextRendererBase()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 Object getConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue)
           
protected  String getInputHtmlType(UIComponent component)
          Returns the HTML type attribute of HTML input element, which is being rendered.
protected  boolean isAutocompleteOff(FacesContext facesContext, UIComponent component)
          If autocomplete is "on" or not set, do not render it
protected  boolean isDisabled(FacesContext facesContext, UIComponent component)
           
protected  boolean isRenderOutputEventAttributes()
           
protected  void renderInput(FacesContext facesContext, UIComponent component)
           
protected  void renderInputBegin(FacesContext facesContext, UIComponent component)
           
protected  void renderInputEnd(FacesContext facesContext, UIComponent component)
           
protected  void renderOutput(FacesContext facesContext, UIComponent component)
           
static void renderOutputText(FacesContext facesContext, UIComponent component, String text, boolean escape)
           
protected  void renderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer)
           
 
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

HtmlTextRendererBase

public HtmlTextRendererBase()
Method Detail

encodeEnd

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

renderOutput

protected void renderOutput(FacesContext facesContext,
                            UIComponent component)
                     throws IOException
Throws:
IOException

isRenderOutputEventAttributes

protected boolean isRenderOutputEventAttributes()

renderInput

protected void renderInput(FacesContext facesContext,
                           UIComponent component)
                    throws IOException
Throws:
IOException

renderInputBegin

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

renderValue

protected void renderValue(FacesContext facesContext,
                           UIComponent component,
                           ResponseWriter writer)
                    throws IOException
Throws:
IOException

renderInputEnd

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

isDisabled

protected boolean isDisabled(FacesContext facesContext,
                             UIComponent component)

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 component,
                                Object submittedValue)
                         throws ConverterException
Overrides:
getConvertedValue in class Renderer
Throws:
ConverterException

getInputHtmlType

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


renderOutputText

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


Copyright © 2014 The Apache Software Foundation. All rights reserved.