org.apache.myfaces.renderkit.html
Class HtmlLabelRenderer

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

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Output",
             type="javax.faces.Label")
public class HtmlLabelRenderer
extends HtmlRenderer

Version:
$Revision: 1230371 $ $Date: 2012-01-11 21:09:45 -0500 (Wed, 11 Jan 2012) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $), Anton Koinov, Martin Marinschek

Constructor Summary
HtmlLabelRenderer()
           
 
Method Summary
 void decode(FacesContext context, UIComponent component)
           
protected  void encodeAfter(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)
           
protected  void encodeAfterStart(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)
           
protected  void encodeBefore(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)
           
protected  void encodeBeforeEnd(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)
           
 void encodeBegin(FacesContext facesContext, UIComponent uiComponent)
           
 void encodeEnd(FacesContext facesContext, UIComponent uiComponent)
           
protected  String getClientId(FacesContext facesContext, UIComponent uiComponent, String forAttr)
           
protected  String getFor(UIComponent component)
           
protected  boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
           
protected  boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
           
 
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, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlLabelRenderer

public HtmlLabelRenderer()
Method Detail

isCommonPropertiesOptimizationEnabled

protected boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonPropertiesOptimizationEnabled in class HtmlRenderer

isCommonEventsOptimizationEnabled

protected boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonEventsOptimizationEnabled in class HtmlRenderer

decode

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

encodeBegin

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

encodeAfterStart

protected void encodeAfterStart(FacesContext facesContext,
                                ResponseWriter writer,
                                UIComponent uiComponent)
                         throws IOException
Throws:
IOException

encodeBefore

protected void encodeBefore(FacesContext facesContext,
                            ResponseWriter writer,
                            UIComponent uiComponent)
                     throws IOException
Throws:
IOException

getFor

protected String getFor(UIComponent component)

getClientId

protected String getClientId(FacesContext facesContext,
                             UIComponent uiComponent,
                             String forAttr)

encodeEnd

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

encodeBeforeEnd

protected void encodeBeforeEnd(FacesContext facesContext,
                               ResponseWriter writer,
                               UIComponent uiComponent)
                        throws IOException
Throws:
IOException

encodeAfter

protected void encodeAfter(FacesContext facesContext,
                           ResponseWriter writer,
                           UIComponent uiComponent)
                    throws IOException
Throws:
IOException


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