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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeBegin
(FacesContext context, UIComponent component) Render the beginninghtml
tag.void
encodeEnd
(FacesContext context, UIComponent component) Render the end of thehtml
element.protected Locale
getCurrentLocale
(FacesContext context, UIComponent component) Return the currentLocale
for 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, setSubmittedValue
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
HtmlRenderer
public HtmlRenderer()
-
-
Method Details
-
encodeBegin
Render the beginning
html
tag.- Overrides:
encodeBegin
in classAbstractRenderer
- Parameters:
context
- FacesContext for the current requestcomponent
- UIComponent to be rendered- Throws:
IOException
- if an input/output error occurs while renderingNullPointerException
- ifcontext
orcomponent
isnull
-
encodeEnd
Render the end of the
html
element.- Overrides:
encodeEnd
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered- Throws:
IOException
- if an input/output error occurs while renderingNullPointerException
- ifcontext
orcomponent
is null
-
getCurrentLocale
Return the current
Locale
for this request, creating a new one if necessary.- Parameters:
context
- FacesContext for this requestcomponent
- UIComponent we are rendering
-