Package jakarta.faces.view.facelets
Class FaceletsAttachedObjectHandler
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
@JSFFaceletTag
public abstract class FaceletsAttachedObjectHandler
extends DelegatingMetaTagHandler
implements AttachedObjectHandler
- Since:
- 2.0
-
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyAttachedObject
(FacesContext context, UIComponent parent) Take the argumentparent
and apply this attachedobject
to it.protected final AttachedObjectHandler
Return the delegate handler for this instance.final String
getFor()
Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler
.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
-
-
Method Details
-
applyAttachedObject
Take the argumentparent
and apply this attachedobject
to it. The action taken varies with class that implements one of the subinterfaces of this interface.- Specified by:
applyAttachedObject
in interfaceAttachedObjectHandler
- Parameters:
context
- TheFacesContext
for this requestparent
- TheUIComponent
to which this particular attached object must be applied.
-
getAttachedObjectHandlerHelper
Return the delegate handler for this instance. Note that this suppose delegate tag handlers wrapping this class should implement AttachedObjectHandler interface.- Returns:
-
getFor
Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler
.- Specified by:
getFor
in interfaceAttachedObjectHandler
- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler
.
-