Package javax.faces.view.facelets
Class FaceletsAttachedObjectHandler
- java.lang.Object
-
- javax.faces.view.facelets.TagHandler
-
- javax.faces.view.facelets.MetaTagHandler
-
- javax.faces.view.facelets.DelegatingMetaTagHandler
-
- javax.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 javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
-
Fields inherited from class javax.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 void
applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attachedobject
to it.protected AttachedObjectHandler
getAttachedObjectHandlerHelper()
Return the delegate handler for this instance.String
getFor()
Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler
.-
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagHandlerDelegate, getTagId, isDisabled, setAttributes
-
Methods inherited from class javax.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 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
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:
getFor
in interfaceAttachedObjectHandler
- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler
.
-
-