public final class CompositeFaceletHandler extends Object implements FaceletHandler
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.
Constructor and Description |
---|
CompositeFaceletHandler(FaceletHandler[] children) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Calls apply on any child handlers. |
FaceletHandler[] |
getHandlers()
Returns the array of child handlers contained by this handler. |
public CompositeFaceletHandler(FaceletHandler[] children)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
Calls apply on any child handlers.
apply
in interface FaceletHandler
ctx
- the FaceletContext
for this view executionparent
- the parent UIComponent
of the component represented by this element instance.IOException
- if unable to load relativePath
public FaceletHandler[] getHandlers()
Returns the array of child handlers contained by this handler.
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.