javax.faces.view.facelets
Class FaceletsAttachedObjectHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by javax.faces.view.facelets.MetaTagHandler
          extended by javax.faces.view.facelets.DelegatingMetaTagHandler
              extended by 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 $)

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
FaceletsAttachedObjectHandler(TagConfig config)
           
 
Method Summary
 void applyAttachedObject(FacesContext context, UIComponent parent)
          Take the argument parent and apply this attached object 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 this AttachedObjectHandler.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaceletsAttachedObjectHandler

public FaceletsAttachedObjectHandler(TagConfig config)
Method Detail

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 request
parent - 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.