public final class CompositionHandler extends TagHandlerImpl implements TemplateClient
| Modifier and Type | Field and Description |
|---|---|
protected Map |
handlers |
static String |
Name |
protected ParamHandler[] |
params |
protected TagAttribute |
template |
nextHandler, tag, tagId| Constructor and Description |
|---|
CompositionHandler(TagConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(FaceletContext ctxObj,
UIComponent parent)
Process changes on a particular UIComponent |
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.
|
findNextByType, findNextByTypegetAttribute, getRequiredAttribute, toStringpublic static final String Name
protected final TagAttribute template
protected final Map handlers
protected final ParamHandler[] params
public CompositionHandler(TagConfig config)
config - public void apply(FaceletContext ctxObj, UIComponent parent) throws IOException
FaceletHandlerProcess changes on a particular UIComponent
apply in interface FaceletHandlerctxObj - the current FaceletContext instance for this executionparent - the parent UIComponent to operate uponIOException - if unable to load relativePathpublic boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException
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 includedIOExceptionCopyright © 1997–2019 Eclipse Foundation. All rights reserved.