Class CompositeFaceletHandler

  extended by javax.faces.view.facelets.CompositeFaceletHandler
All Implemented Interfaces:

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 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 Summary
CompositeFaceletHandler(FaceletHandler[] children)
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)

Calls apply on any child handlers.

 FaceletHandler[] getHandlers()

Returns the array of child handlers contained by this handler.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CompositeFaceletHandler(FaceletHandler[] children)
Method Detail


public void apply(FaceletContext ctx,
                  UIComponent parent)

Calls apply on any child handlers.

Specified by:
apply in interface FaceletHandler
ctx - the FaceletContext for this view execution
parent - the parent UIComponent of the component represented by this element instance.
Throws: - if unable to load relativePath


public FaceletHandler[] getHandlers()

Returns the array of child handlers contained by this handler.

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.