Package org.apache.struts.faces.renderer
Class HtmlRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.HtmlRenderer
Renderer implementation for the html tag
from the Struts-Faces Integration Library.
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeBegin(FacesContext context, UIComponent component) Render the beginninghtmltag.voidencodeEnd(FacesContext context, UIComponent component) Render the end of thehtmlelement.protected LocalegetCurrentLocale(FacesContext context, UIComponent component) Return the currentLocalefor this request, creating a new one if necessary.Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
decode, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, isXhtml, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, searchComponent, setSubmittedValueMethods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
HtmlRenderer
public HtmlRenderer()
-
-
Method Details
-
encodeBegin
Render the beginning
htmltag.- Overrides:
encodeBeginin classAbstractRenderer- Parameters:
context- FacesContext for the current requestcomponent- UIComponent to be rendered- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentisnull
-
encodeEnd
Render the end of the
htmlelement.- Overrides:
encodeEndin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be rendered- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-
getCurrentLocale
Return the current
Localefor this request, creating a new one if necessary.- Parameters:
context- FacesContext for this requestcomponent- UIComponent we are rendering
-