Class HtmlTextRendererBase
- java.lang.Object
-
- jakarta.faces.render.Renderer
-
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
-
- org.apache.myfaces.renderkit.html.base.HtmlTextRendererBase
-
- Direct Known Subclasses:
HtmlTextRenderer
public class HtmlTextRendererBase extends HtmlRenderer
-
-
Field Summary
-
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlTextRendererBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
decode(FacesContext facesContext, UIComponent component)
void
encodeBegin(FacesContext facesContext, UIComponent component)
void
encodeEnd(FacesContext facesContext, UIComponent component)
Object
getConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue)
protected String
getInputHtmlType(FacesContext context, UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.protected boolean
isAutocompleteOff(FacesContext facesContext, UIComponent component)
If autocomplete is "on" or not set, do not render itprotected boolean
isDisabled(FacesContext facesContext, UIComponent component)
protected boolean
isRenderOutputEventAttributes()
protected boolean
isValidLength(FacesContext facesContext, UIInput input)
protected void
renderInput(FacesContext facesContext, UIComponent component)
Deprecated.protected void
renderInputBegin(FacesContext facesContext, UIComponent component)
protected void
renderInputEnd(FacesContext facesContext, UIComponent component)
protected void
renderOutput(FacesContext facesContext, UIComponent component)
protected void
renderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer)
-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
-
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, encodeChildren, getRendersChildren
-
-
-
-
Method Detail
-
encodeBegin
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeBegin
in classRenderer
- Throws:
IOException
-
encodeEnd
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeEnd
in classRenderer
- Throws:
IOException
-
renderOutput
protected void renderOutput(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
isRenderOutputEventAttributes
protected boolean isRenderOutputEventAttributes()
-
renderInput
@Deprecated protected void renderInput(FacesContext facesContext, UIComponent component) throws IOException
Deprecated.- Throws:
IOException
-
renderInputBegin
protected void renderInputBegin(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
renderValue
protected void renderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer) throws IOException
- Throws:
IOException
-
renderInputEnd
protected void renderInputEnd(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
isDisabled
protected boolean isDisabled(FacesContext facesContext, UIComponent component)
-
isAutocompleteOff
protected boolean isAutocompleteOff(FacesContext facesContext, UIComponent component)
If autocomplete is "on" or not set, do not render it
-
decode
public void decode(FacesContext facesContext, UIComponent component)
-
getConvertedValue
public Object getConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue) throws ConverterException
- Overrides:
getConvertedValue
in classRenderer
- Throws:
ConverterException
-
isValidLength
protected boolean isValidLength(FacesContext facesContext, UIInput input)
-
getInputHtmlType
protected String getInputHtmlType(FacesContext context, UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.
-
-