public final class CompositeFaceletHandler extends java.lang.Object implements FaceletHandler
A FaceletHandler that is derived of 1 or more, inner FaceletHandlers. This class would be found if the next
FaceletHandler is structurally, 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[] handlers)
Creates a new FaceletHandler out of the given inner FaceletHandlers.
|
| 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[] handlers)
handlers - the inner FaceletHandlers.public void apply(FaceletContext ctx, UIComponent parent) throws java.io.IOException
Calls apply on any child handlers.
apply in interface FaceletHandlerctx - the FaceletContext for this view executionparent - the parent UIComponent of the component represented by this element instance.java.io.IOException - if unable to load relativePathpublic FaceletHandler[] getHandlers()
Returns the array of child handlers contained by this handler.