com.sun.faces.renderkit.html_basic
public class LabelRenderer extends HtmlBasicInputRenderer
LabelRenderer renders Label element.
.
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
Modifier and Type | Field and Description |
---|---|
private static Attribute[] |
ATTRIBUTES |
private static java.lang.String |
RENDER_END_ELEMENT |
EMPTY_PARAMS, logger
Constructor and Description |
---|
LabelRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected java.lang.String |
getForComponentClientId(javax.faces.component.UIComponent component,
javax.faces.context.FacesContext context,
java.lang.String forValue)
Builds and returns the clientId of the component that is
represented by the forValue.
|
getConvertedValue, getNonOnChangeBehaviors, getNonOnClickSelectBehaviors, getValue, setSubmittedValue
augmentIdReference, convertClientId, decode, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, isBehaviorSource, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
private static final Attribute[] ATTRIBUTES
private static final java.lang.String RENDER_END_ELEMENT
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class HtmlBasicRenderer
java.io.IOException
protected java.lang.String getForComponentClientId(javax.faces.component.UIComponent component, javax.faces.context.FacesContext context, java.lang.String forValue)
getClientId(context)
is not possible.component
- UIComponent that represents the labelcontext
- FacesContext for this requestforValue
- String representing the "id" of the component
that this label represents.Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.