public final class LegacyCompositionHandler extends TagHandler implements TemplateClient
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,DefineHandler> | _handlers | 
| protected LegacyParamHandler[] | _params | 
| protected TagAttribute | _templateThe resolvable URI of the template to use. | 
| static String | NAME | 
nextHandler, tag, tagId| Constructor and Description | 
|---|
| LegacyCompositionHandler(TagConfig config) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(FaceletContext ctx,
     UIComponent parent) | 
| boolean | apply(FaceletContext ctx,
     UIComponent parent,
     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. | 
getAttribute, getRequiredAttribute, toStringpublic static final String NAME
protected final TagAttribute _template
protected final Map<String,DefineHandler> _handlers
protected final LegacyParamHandler[] _params
public LegacyCompositionHandler(TagConfig config)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, javax.el.ELException
apply in interface FaceletHandlerIOExceptionFacesExceptionFaceletExceptionjavax.el.ELExceptionpublic boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException, FacesException, FaceletException, javax.el.ELException
TemplateClientapply in interface TemplateClientctx - 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 includedIOExceptionFacesExceptionFaceletExceptionjavax.el.ELExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.