java.lang.Object
jakarta.faces.view.facelets.TagHandler
jakarta.faces.view.facelets.MetaTagHandler
jakarta.faces.view.facelets.DelegatingMetaTagHandler
jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
- All Implemented Interfaces:
AttachedObjectHandler
,FaceletHandler
- Direct Known Subclasses:
BehaviorHandler
,ConverterHandler
,ValidatorHandler
public abstract class FaceletsAttachedObjectHandler
extends DelegatingMetaTagHandler
implements AttachedObjectHandler
Root class for all tag handlers that represent attached objetcts in a Facelets page.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyAttachedObject
(FacesContext ctx, UIComponent parent) Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argumentparent
.protected final AttachedObjectHandler
Return the underlying handler for this tag handler instance.final String
getFor()
Return the value of the "for" attribute.Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagHandlerDelegate, getTagId, isDisabled, setAttributes
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
FaceletsAttachedObjectHandler
Call through to super
- Parameters:
config
- configure this handler instance
-
-
Method Details
-
getAttachedObjectHandlerHelper
Return the underlying handler for this tag handler instance.
- Returns:
- the handler instance
-
applyAttachedObject
Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument
parent
.- Specified by:
applyAttachedObject
in interfaceAttachedObjectHandler
- Parameters:
ctx
- theFacesContext
for this requestparent
- TheUIComponent
to which this attached object must be applied.
-
getFor
Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.
- Specified by:
getFor
in interfaceAttachedObjectHandler
- Returns:
- the value of the "for" attribute for this attached object
-