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 UIComponent
createComponent(FaceletContext ctx)
Subclasses that wish to take over the task of instantiating theUIComponent
instance corresponding to this tag handler my override this method to do so.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.-
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:ComponentHandler
Subclasses that wish to take over the task of instantiating the
UIComponent
instance corresponding to this tag handler my override this method to do so. Anull
return from this method will cause theTagHandlerDelegate
for instance to create the component instead.- Overrides:
createComponent
in classComponentHandler
- Parameters:
ctx
- theFaceletContext
for this view execution- Returns:
- the newly created
UIComponent
-
onComponentCreated
public void onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
Description copied from class:ComponentHandler
This method is guaranteed to be called after the component has been created but before it has been populated with children.
- Overrides:
onComponentCreated
in classComponentHandler
- Parameters:
ctx
- theFaceletContext
for this view executionc
- theUIComponent
that has just been created.parent
- the parentUIComponent
of the component represented by this element instance.
-
-