Class HtmlLabelRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
-
- 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$ $Date$
- Author:
- Thomas Spiegl (latest modification by $Author$), Anton Koinov, Martin Marinschek
-
-
Field Summary
-
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlLabelRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(FacesContext context, UIComponent component)protected voidencodeAfter(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)protected voidencodeAfterStart(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)protected voidencodeBefore(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)protected voidencodeBeforeEnd(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent)voidencodeBegin(FacesContext facesContext, UIComponent uiComponent)voidencodeEnd(FacesContext facesContext, UIComponent uiComponent)protected StringgetClientId(FacesContext facesContext, UIComponent uiComponent, String forAttr)protected StringgetFor(UIComponent component)protected booleanisCommonEventsOptimizationEnabled(FacesContext facesContext)protected booleanisCommonPropertiesOptimizationEnabled(FacesContext facesContext)-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId
-
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeChildren, getConvertedValue, getRendersChildren
-
-
-
-
Method Detail
-
isCommonPropertiesOptimizationEnabled
protected boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
- Overrides:
isCommonPropertiesOptimizationEnabledin classHtmlRenderer
-
isCommonEventsOptimizationEnabled
protected boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
- Overrides:
isCommonEventsOptimizationEnabledin classHtmlRenderer
-
decode
public void decode(FacesContext context, UIComponent component)
-
encodeBegin
public void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException
- Overrides:
encodeBeginin classRenderer- 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:
encodeEndin classRenderer- 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
-
-