Top Fields Constructors Methods
com.sun.faces.facelets.tag.faces

pack-priv Class BehaviorTagHandlerDelegateImpl

extends TagHandlerDelegate
implements AttachedObjectHandler
Class Inheritance
All Implemented Interfaces
jakarta.faces.view.AttachedObjectHandler
Imports
java.beans.BeanDescriptor, .BeanInfo, java.io.IOException, java.util.List, com.sun.faces.facelets.tag.MetaRulesetImpl, com.sun.faces.util.Util, jakarta.el.ValueExpression, jakarta.faces.component.UIComponent, jakarta.faces.component.behavior.Behavior, .ClientBehavior, .ClientBehaviorHolder, jakarta.faces.context.FacesContext, jakarta.faces.view.AttachedObjectHandler, .AttachedObjectTarget, .BehaviorHolderAttachedObjectTarget, jakarta.faces.view.facelets.BehaviorHandler, .FaceletContext, .MetaRuleset, .TagAttribute, .TagException, .TagHandlerDelegate

Author
edburns

Field Summary

Modifier and TypeField and Description
private BehaviorHandler

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the FaceletContext for this request
ctx
,
UIComponent
the UIComponent that corresponds to this element.
parent
)

Implements abstract jakarta.faces.view.facelets.TagHandlerDelegate.apply.

Called by classes that implement jakarta.faces.view.facelets.FaceletHandler in their implementation of apply().

public void
applyAttachedObject(FacesContext
The FacesContext for this request
context
,
UIComponent
The UIComponent to which this particular attached object must be applied.
parent
)

Implements jakarta.faces.view.AttachedObjectHandler.applyAttachedObject.

Take the argument parent and apply this attached object to it.

public MetaRuleset
createMetaRuleset(Class<T>
the Class for which the MetaRuleset must be created.
type
)

Implements abstract jakarta.faces.view.facelets.TagHandlerDelegate.createMetaRuleset.

Return a MetaRuleset particular to this kind of tag handler.

private String
public String
getFor()

Implements jakarta.faces.view.AttachedObjectHandler.getFor.

Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.

Field Detail

ownerback to summary
private BehaviorHandler owner

Constructor Detail

BehaviorTagHandlerDelegateImplback to summary
public BehaviorTagHandlerDelegateImpl(BehaviorHandler owner)

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Implements abstract jakarta.faces.view.facelets.TagHandlerDelegate.apply.

Doc from jakarta.faces.view.facelets.TagHandlerDelegate.apply.

Called by classes that implement jakarta.faces.view.facelets.FaceletHandler in their implementation of apply().

If the argument comp is new to the view, for each tag attribute declared to be in the pass through attribute namespace, set the name and value of the attribute into the pass through attributes map of the component. See UIComponent#getPassThroughAttributes(boolean). See the VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is a ValueExpression must remain un-evaluated and stored in the map as ValueExpression instances.

Parameters
ctx:FaceletContext

the FaceletContext for this request

parent:UIComponent

the UIComponent that corresponds to this element.

Annotations
@Override
Exceptions
IOException:
if any files necessary to apply this tag handler have any difficulty while loading
applyAttachedObjectback to summary
public void applyAttachedObject(FacesContext context, UIComponent parent)

Implements jakarta.faces.view.AttachedObjectHandler.applyAttachedObject.

Doc from jakarta.faces.view.AttachedObjectHandler.applyAttachedObject.

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.

Parameters
context:FacesContext

The FacesContext for this request

parent:UIComponent

The UIComponent to which this particular attached object must be applied.

Annotations
@Override
createMetaRulesetback to summary
public MetaRuleset createMetaRuleset(Class<T> type)

Implements abstract jakarta.faces.view.facelets.TagHandlerDelegate.createMetaRuleset.

Doc from jakarta.faces.view.facelets.TagHandlerDelegate.createMetaRuleset.

Return a MetaRuleset particular to this kind of tag handler. Called from classes that implement MetaTagHandler.

Parameters
type:Class<T>

the Class for which the MetaRuleset must be created.

Returns:MetaRuleset

a MetaRuleset particular to this kind of tag handler.

Annotations
@Override
getEventNameback to summary
private String getEventName(ClientBehaviorHolder holder)
getForback to summary
public String getFor()

Implements jakarta.faces.view.AttachedObjectHandler.getFor.

Doc from jakarta.faces.view.AttachedObjectHandler.getFor.

Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.

Returns:String

the value of the "for" attribute for this attached object

Annotations
@Override