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
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 javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactoryFields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyAttachedObject(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 AttachedObjectHandlerReturn the underlying handler for this tag handler instance.final StringgetFor()Return the value of the "for" attribute.Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagHandlerDelegate, getTagId, isDisabled, setAttributesMethods inherited from class javax.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.
-
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:
applyAttachedObjectin interfaceAttachedObjectHandler- Parameters:
ctx- theFacesContextfor this requestparent- TheUIComponentto 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:
getForin interfaceAttachedObjectHandler
-