public final class CompositionHandler extends TagHandlerImpl implements TemplateClient
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
handlers |
private static java.util.logging.Logger |
log |
static java.lang.String |
Name |
protected ParamHandler[] |
params |
protected javax.faces.view.facelets.TagAttribute |
template |
Constructor and Description |
---|
CompositionHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctxObj,
javax.faces.component.UIComponent parent) |
boolean |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String name)
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.
|
findNextByType, findNextByType
private static final java.util.logging.Logger log
public static final java.lang.String Name
protected final javax.faces.view.facelets.TagAttribute template
protected final java.util.Map handlers
protected final ParamHandler[] params
public CompositionHandler(javax.faces.view.facelets.TagConfig config)
config
- public void apply(javax.faces.view.facelets.FaceletContext ctxObj, javax.faces.component.UIComponent parent) throws java.io.IOException
apply
in interface javax.faces.view.facelets.FaceletHandler
java.io.IOException
public boolean apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String name) throws java.io.IOException
TemplateClient
apply
in interface TemplateClient
ctx
- the FaceletContext of your instance, not the
templates'parent
- current UIComponent instance to be appliedname
- the String name or null if the whole body should be includedjava.io.IOException
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.