Package jakarta.faces.view.facelets
Class ComponentHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- jakarta.faces.view.facelets.MetaTagHandler
-
- jakarta.faces.view.facelets.DelegatingMetaTagHandler
-
- jakarta.faces.view.facelets.ComponentHandler
-
- All Implemented Interfaces:
FaceletHandler
public class ComponentHandler extends DelegatingMetaTagHandler
Implementation of the tag logic used in the Faces specification. This is your golden hammer for wiring UIComponents to Facelets.
-
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description ComponentHandler(ComponentConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UIComponentcreateComponent(FaceletContext ctx)ComponentConfiggetComponentConfig()protected TagHandlerDelegategetTagHandlerDelegate()static booleanisNew(UIComponent component)voidonComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)voidonComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)-
Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
ComponentHandler
public ComponentHandler(ComponentConfig config)
-
-
Method Detail
-
getComponentConfig
public ComponentConfig getComponentConfig()
-
isNew
public static boolean isNew(UIComponent component)
-
onComponentCreated
public void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
-
onComponentPopulated
public void onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
-
getTagHandlerDelegate
protected TagHandlerDelegate getTagHandlerDelegate()
- Specified by:
getTagHandlerDelegatein classDelegatingMetaTagHandler
-
createComponent
public UIComponent createComponent(FaceletContext ctx)
- Parameters:
ctx-- Returns:
- Since:
- 2.2
-
-