public class HtmlRenderer extends AbstractRenderer
Renderer implementation for the html tag
from the Struts-Faces Integration Library.
| Constructor and Description |
|---|
HtmlRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the beginning
html tag. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the end of the
html element. |
protected java.util.Locale |
getCurrentLocale(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the current
Locale for this request, creating a
new one if necessary. |
protected boolean |
isLocale(javax.faces.component.UIComponent component)
Return the state of the
locale attribute. |
protected boolean |
isXhtml(javax.faces.component.UIComponent component)
Return the state of the
xhtml attribute. |
decode, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValuepublic void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the beginning html tag.
encodeBegin in class AbstractRenderercontext - FacesContext for the current requestcomponent - UIComponent to be renderedjava.io.IOException - if an input/output error occurs while renderingjava.lang.NullPointerException - if context
or component is nullpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
Render the end of the html element.
encodeEnd in class AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be renderedjava.io.IOException - if an input/output error occurs while renderingjava.lang.NullPointerException - if context
or component is nullprotected java.util.Locale getCurrentLocale(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the current Locale for this request, creating a
new one if necessary.
context - FacesContext for this requestcomponent - UIComponent we are renderingprotected boolean isLocale(javax.faces.component.UIComponent component)
Return the state of the locale attribute.
component - Component to processprotected boolean isXhtml(javax.faces.component.UIComponent component)
Return the state of the xhtml attribute.
component - Component to processCopyright © 2000–2025 Apache Software Foundation. All rights reserved.