Package com.sun.faces.facelets.tag.faces
Class PassThroughElementComponentHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- jakarta.faces.view.facelets.MetaTagHandler
-
- jakarta.faces.view.facelets.DelegatingMetaTagHandler
-
- jakarta.faces.view.facelets.ComponentHandler
-
- com.sun.faces.facelets.tag.faces.PassThroughElementComponentHandler
-
- All Implemented Interfaces:
FaceletHandler
public class PassThroughElementComponentHandler extends ComponentHandler
-
-
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 PassThroughElementComponentHandler(ComponentConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIComponentcreateComponent(FaceletContext ctx)Subclasses that wish to take over the task of instantiating theUIComponentinstance corresponding to this tag handler my override this method to do so.protected TagAttributegetRequiredPassthroughAttribute(String localName)voidonComponentCreated(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.-
Methods inherited from class jakarta.faces.view.facelets.ComponentHandler
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulated
-
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
-
PassThroughElementComponentHandler
public PassThroughElementComponentHandler(ComponentConfig config)
-
-
Method Detail
-
getRequiredPassthroughAttribute
protected final TagAttribute getRequiredPassthroughAttribute(String localName) throws TagException
- Throws:
TagException
-
createComponent
public UIComponent createComponent(FaceletContext ctx)
Description copied from class:ComponentHandlerSubclasses that wish to take over the task of instantiating the
UIComponentinstance corresponding to this tag handler my override this method to do so. Anullreturn from this method will cause theTagHandlerDelegatefor instance to create the component instead.- Overrides:
createComponentin classComponentHandler- Parameters:
ctx- theFaceletContextfor this view execution- Returns:
- the newly created
UIComponent
-
onComponentCreated
public void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
Description copied from class:ComponentHandlerThis method is guaranteed to be called after the component has been created but before it has been populated with children.
- Overrides:
onComponentCreatedin classComponentHandler- Parameters:
ctx- theFaceletContextfor this view executionc- theUIComponentthat has just been created.parent- the parentUIComponentof the component represented by this element instance.
-
-