com.sun.faces.renderkit.html_basic
public class TextRenderer extends HtmlBasicInputRenderer
UIInput or UIOutput component as a input field or
static text.
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
Modifier and Type | Field and Description |
---|---|
private static Attribute[] |
INPUT_ATTRIBUTES |
private static Attribute[] |
OUTPUT_ATTRIBUTES |
EMPTY_PARAMS, logger
Constructor and Description |
---|
TextRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
getEndTextToRender(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String currentValue)
Renderers override this method to write appropriate HTML content into
the buffer.
|
boolean |
getRendersChildren() |
getConvertedValue, getNonOnChangeBehaviors, getNonOnClickSelectBehaviors, getValue, setSubmittedValue
augmentIdReference, convertClientId, decode, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, isBehaviorSource, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
private static final Attribute[] INPUT_ATTRIBUTES
private static final Attribute[] OUTPUT_ATTRIBUTES
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
protected void getEndTextToRender(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String currentValue) throws java.io.IOException
HtmlBasicRenderer
getEndTextToRender
in class HtmlBasicRenderer
context
- the FacesContext for the current requestcomponent
- the UIComponent of interestcurrentValue
- component
's current valuejava.io.IOException
- if an error occurs rendering the textpublic boolean getRendersChildren()
getRendersChildren
in class HtmlBasicRenderer
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeChildren
in class javax.faces.render.Renderer
java.io.IOException
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.