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.Param
Modifier and Type | Field and Description |
---|---|
private static Attribute[] |
BODY_ATTRIBUTES |
EMPTY_PARAMS, logger
Constructor and Description |
---|
BodyRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
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) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
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, writeIdAttributeIfNecessary
private static final Attribute[] BODY_ATTRIBUTES
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class HtmlBasicRenderer
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
context
- the Faces context.component
- the UI component.java.io.IOException
- when an I/O error occurs.public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeChildren
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class HtmlBasicRenderer
java.io.IOException
public boolean getRendersChildren()
getRendersChildren
in class HtmlBasicRenderer
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.