java.lang.Object
jakarta.faces.render.Renderer
com.sun.faces.renderkit.html_basic.CompositeRenderer
This Renderer is responsible for rendering the children defined within the composite implementation
section of a composite component template.
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeChildren(FacesContext context, UIComponent component) Render the child components of thisUIComponent, following the rules described forencodeBegin()to acquire the appropriate value to be rendered.booleanReturn a flag indicating whether thisRendereris responsible for rendering the children the component it is asked to render.Methods inherited from class jakarta.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeEnd, getConvertedValue
-
Constructor Details
-
CompositeRenderer
public CompositeRenderer()
-
-
Method Details
-
encodeChildren
Description copied from class:RendererRender the child components of this
UIComponent, following the rules described forencodeBegin()to acquire the appropriate value to be rendered. This method will only be called if therendersChildrenproperty of this component istrue.- Overrides:
encodeChildrenin classRenderer- Parameters:
context-FacesContextfor the response we are creatingcomponent-UIComponentwhose children are to be rendered- Throws:
IOException- if an input/output error occurs while rendering
-
getRendersChildren
public boolean getRendersChildren()Description copied from class:RendererReturn a flag indicating whether this
Rendereris responsible for rendering the children the component it is asked to render. The default implementation returnsfalse.- Overrides:
getRendersChildrenin classRenderer- Returns:
- the current value of the flag
-