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
- Version:
- $Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
- Author:
- Simon Lessard (latest modification by $Author: bommel $)
FaceletsAttachedObjectHandler
public FaceletsAttachedObjectHandler(TagConfig config)
applyAttachedObject
public final void applyAttachedObject(FacesContext context,
UIComponent parent)
- Take the argument
parent
and apply this attached object
to it. The action taken varies
with class that implements one of the subinterfaces of this interface.
- Specified by:
applyAttachedObject
in interface AttachedObjectHandler
- Parameters:
context
- The FacesContext
for this requestparent
- The UIComponent
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 this
AttachedObjectHandler
.
- Specified by:
getFor
in interface AttachedObjectHandler
- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler
.
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.