com.sun.rave.web.ui.renderer
Class LabelRenderer
java.lang.Object
javax.faces.render.Renderer
com.sun.rave.web.ui.renderer.LabelRenderer
public class LabelRenderer
- extends javax.faces.render.Renderer
Renderer for a Label
component.
Method Summary |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the appropriate element attributes, followed by the
label content, depending on whether the for property
is set or not. |
boolean |
getRendersChildren()
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, decode, encodeBegin, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelRenderer
public LabelRenderer()
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.render.Renderer
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Overrides:
encodeChildren
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the appropriate element attributes, followed by the
label content, depending on whether the for
property
is set or not.
- Overrides:
encodeEnd
in class javax.faces.render.Renderer
- Parameters:
context
- FacesContext
for the current requestcomponent
- EditableValueHolder
component whose
submitted value is to be stored
- Throws:
java.io.IOException
- if an input/output error occurs