Top Description Fields Constructors Methods
com.sun.faces.renderkit.html_basic

public Class CompositeFacetRenderer

extends Renderer
Class Inheritance
Imports
com.sun.faces.util.FacesLogger, .Util, java.io.IOException, java.util.logging.Level, .Logger, javax.faces.component.UIComponent, javax.faces.context.FacesContext, javax.faces.render.Renderer

This Renderer is responsible for rendering the content of a facet defined within the using page template in the desired location within the composite component implementation section.

Field Summary

Modifier and TypeField and Description
private static final Logger
Inherited from javax.faces.render.Renderer:
PASSTHROUGH_RENDERER_LOCALNAME_KEY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
encodeChildren(FacesContext
FacesContext for the response we are creating
context
,
UIComponent
UIComponent whose children are to be rendered
component
)

Overrides javax.faces.render.Renderer.encodeChildren.

Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

public boolean
getRendersChildren()

Overrides javax.faces.render.Renderer.getRendersChildren.

Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render.

Inherited from javax.faces.render.Renderer:
convertClientIddecodeencodeBeginencodeEndgetConvertedValue

Field Detail

loggerback to summary
private static final Logger logger

Constructor Detail

CompositeFacetRendererback to summary
public CompositeFacetRenderer()

Method Detail

encodeChildrenback to summary
public void encodeChildren(FacesContext context, UIComponent component) throws IOException

Overrides javax.faces.render.Renderer.encodeChildren.

Doc from javax.faces.render.Renderer.encodeChildren.

Render 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.

Parameters
context:FacesContext

FacesContext for the response we are creating

component:UIComponent

UIComponent whose children are to be rendered

Annotations
@Override
Exceptions
IOException:
if an input/output error occurs while rendering
getRendersChildrenback to summary
public boolean getRendersChildren()

Overrides javax.faces.render.Renderer.getRendersChildren.

Doc from javax.faces.render.Renderer.getRendersChildren.

Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.

Returns:boolean

the current value of the flag

Annotations
@Override