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 Constructor Description FaceletsAttachedObjectHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attachedobjectto it.protected AttachedObjectHandlergetAttachedObjectHandlerHelper()Return the delegate handler for this instance.StringgetFor()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 Detail
-
FaceletsAttachedObjectHandler
public FaceletsAttachedObjectHandler(TagConfig config)
-
-
Method Detail
-
applyAttachedObject
public final void applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparentand apply this attachedobjectto it. The action taken varies with class that implements one of the subinterfaces of this interface.- Specified by:
applyAttachedObjectin interfaceAttachedObjectHandler- Parameters:
context- TheFacesContextfor this requestparent- TheUIComponentto which this particular attached object must be applied.
-
getAttachedObjectHandlerHelper
protected final AttachedObjectHandler getAttachedObjectHandlerHelper()
Return the delegate handler for this instance. Note that this suppose delegate tag handlers wrapping this class should implement AttachedObjectHandler interface.- Returns:
-
getFor
@JSFFaceletAttribute public final String getFor()
Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler.- Specified by:
getForin interfaceAttachedObjectHandler- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler.
-
-