Top Description Fields Constructors Methods
javax.faces.view.facelets

public final Class CompositeFaceletHandler

extends Object
implements FaceletHandler
Class Inheritance
All Implemented Interfaces
javax.faces.view.facelets.FaceletHandler
Imports
java.io.IOException, javax.faces.component.UIComponent

A FaceletHandler that is derived of 1 or more, inner FaceletHandlers. This class would be found if the next FaceletHandler is structually, a body with multiple child elements as defined in XML. This class enables the Facelet runtime to traverse the tree of FaceletHandler instances built by the Facelets compiler.

Field Summary

Modifier and TypeField and Description
private final FaceletHandler[]
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the FaceletContext for this view execution
ctx
,
UIComponent
the parent UIComponent of the component represented by this element instance.
parent
)

Implements javax.faces.view.facelets.FaceletHandler.apply.

Calls apply on any child handlers.

public FaceletHandler[]

Returns:

Returns the array of child handlers contained by this handler.
getHandlers
()

Returns the array of child handlers contained by this handler.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

childrenback to summary
private final FaceletHandler[] children
lenback to summary
private final int len

Constructor Detail

CompositeFaceletHandlerback to summary
public CompositeFaceletHandler(FaceletHandler[] children)

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Implements javax.faces.view.facelets.FaceletHandler.apply.

Calls apply on any child handlers.

Parameters
ctx:FaceletContext

the FaceletContext for this view execution

parent:UIComponent

the parent UIComponent of the component represented by this element instance.

Annotations
@Override
Exceptions
IOException:

Doc from javax.faces.view.facelets.FaceletHandler.apply.

if unable to load relativePath

Since
2.0
getHandlersback to summary
public FaceletHandler[] getHandlers()

Returns the array of child handlers contained by this handler.

Returns:FaceletHandler[]

Returns the array of child handlers contained by this handler.