public class BodyRenderer extends HtmlBasicRenderer
This Renderer is responsible for rendering
the standard HTML body element as well as rendering any resources
that should be output before the body tag is closed.
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.ParamEMPTY_PARAMS, logger| Constructor and Description |
|---|
BodyRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Decode any new state of the specified
UIComponent
from the request contained in the specified FacesContext,
and store that state on the UIComponent. |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Encode the beginning.
|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the child components of this
UIComponent, following
the rules described for encodeBegin() to acquire the
appropriate value to be rendered. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render the ending of the current state of the specified
UIComponent, following the rules described for
encodeBegin() to acquire the appropriate value
to be rendered. |
boolean |
getRendersChildren()
Do we render our children.
|
augmentIdReference, convertClientId, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getValue, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessarypublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
javax.faces.render.RendererDecode any new state of the specified UIComponent
from the request contained in the specified FacesContext,
and store that state on the UIComponent.
During decoding, events may be enqueued for later processing
(by event listeners that have registered an interest), by calling
queueEvent() on the associated UIComponent.
decode in class HtmlBasicRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be decoded.public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeBegin in class javax.faces.render.Renderercontext - the Faces context.component - the UI component.IOException - when an I/O error occurs.public void encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
javax.faces.render.RendererRender the child components of this UIComponent, following
the rules described for encodeBegin() to acquire the
appropriate value to be rendered. This method will only be called
if the rendersChildren property of this component
is true.
encodeChildren in class javax.faces.render.Renderercontext - FacesContext for the response we are creatingcomponent - UIComponent whose children are to be renderedIOException - if an input/output error occurs while renderingpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
javax.faces.render.RendererRender the ending of the current state of the specified
UIComponent, following the rules described for
encodeBegin() to acquire the appropriate value
to be rendered.
encodeEnd in class HtmlBasicRenderercontext - FacesContext for the response we are creatingcomponent - UIComponent to be renderedIOException - if an input/output error occurs while renderingpublic boolean getRendersChildren()
getRendersChildren in class HtmlBasicRendererCopyright © 2010–2024 JBoss by Red Hat. All rights reserved.