public class PassThroughElementComponentHandler extends ComponentHandler
delegateFactorynextHandler, tag, tagId| Constructor and Description |
|---|
PassThroughElementComponentHandler(ComponentConfig config) |
| Modifier and Type | Method and Description |
|---|---|
UIComponent |
createComponent(FaceletContext ctx)
Subclasses that wish to take over
the task of instantiating the |
protected TagAttribute |
getRequiredPassthroughAttribute(String localName) |
void |
onComponentCreated(FaceletContext ctx,
UIComponent c,
UIComponent parent)
This method is guaranteed to be called after the component has been created but before it has been populated with children. |
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulatedapply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributesgetAttribute, getRequiredAttribute, toStringpublic PassThroughElementComponentHandler(ComponentConfig config)
protected final TagAttribute getRequiredPassthroughAttribute(String localName) throws TagException
TagExceptionpublic UIComponent createComponent(FaceletContext ctx)
ComponentHandlerSubclasses that wish to take over
the task of instantiating the UIComponent instance
corresponding to this tag handler my override this method to do
so. A null return from this method will cause the
TagHandlerDelegate for instance to create the
component instead.
createComponent in class ComponentHandlerctx - the FaceletContext for this view executionUIComponentpublic void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
ComponentHandlerThis method is guaranteed to be called after the component has been created but before it has been populated with children.
onComponentCreated in class ComponentHandlerctx - the FaceletContext for this view executionc - the UIComponent that has just been created.parent - the parent UIComponent of the
component represented by this element instance.Copyright © 1997–2019 Eclipse Foundation. All rights reserved.