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
delegateFactoryFields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyAttachedObject(FacesContext context, UIComponent parent) Take the argumentparentand apply this attachedobjectto it.protected final AttachedObjectHandlerReturn the delegate handler for this instance.final 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, setAttributesMethods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
FaceletsAttachedObjectHandler
-
-
Method Details
-
applyAttachedObject
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
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:
getForin interfaceAttachedObjectHandler- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler.
-