java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.ui.CompositionHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler, com.sun.facelets.TemplateClient
- public final class CompositionHandler
- extends com.sun.facelets.tag.TagHandler
- implements com.sun.facelets.TemplateClient
- Version:
- $Id: CompositionHandler.java,v 1.10 2006/03/29 04:10:08 jhook Exp $
log
private final java.util.logging.Logger log
Name
public static final java.lang.String Name
- See Also:
- Constant Field Values
template
protected final com.sun.facelets.tag.TagAttribute template
handlers
protected final java.util.Map handlers
params
protected final ParamHandler[] params
CompositionHandler
public CompositionHandler(com.sun.facelets.tag.TagConfig config)
apply
public void apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
com.sun.facelets.FaceletException,
ELException
- Description copied from interface:
com.sun.facelets.FaceletHandler
- Process changes on a particular UIComponent
- Specified by:
apply in interface com.sun.facelets.FaceletHandler
apply
public boolean apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String name)
throws java.io.IOException,
javax.faces.FacesException,
com.sun.facelets.FaceletException,
ELException
- Description copied from interface:
com.sun.facelets.TemplateClient
- This contract is much like the normal FaceletHandler.apply method, but it
takes in an optional String name which tells this instance what
fragment/definition it's looking for. If you are a match, apply your
logic to the passed UIComponent and return true, otherwise do nothing and
return false.
- Specified by:
apply in interface com.sun.facelets.TemplateClient