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 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, setSubmittedValue
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Render the beginning html
tag.
encodeBegin
in class AbstractRenderer
context
- FacesContext for the current requestcomponent
- UIComponent to be renderedIOException
- if an input/output error occurs while renderingNullPointerException
- if context
or component
is null
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Render the end of the html
element.
encodeEnd
in class AbstractRenderer
context
- FacesContext for the request we are processingcomponent
- UIComponent to be renderedIOException
- if an input/output error occurs while renderingNullPointerException
- if context
or component
is nullprotected 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–2016 Apache Software Foundation. All rights reserved.