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

public Class AttachedObjectTargetImpl

extends Object
implements AttachedObjectTarget
Class Inheritance
All Implemented Interfaces
jakarta.faces.view.AttachedObjectTarget
Known Direct Subclasses
com.sun.faces.facelets.tag.composite.BehaviorHolderAttachedObjectTargetImpl, com.sun.faces.facelets.tag.composite.EditableValueHolderAttachedObjectTargetImpl, com.sun.faces.facelets.tag.composite.ValueHolderAttachedObjectTargetImpl, com.sun.faces.facelets.tag.composite.ActionSourceAttachedObjectTargetImpl
Imports
java.util.ArrayList, .List, .Map, com.sun.faces.util.Util, jakarta.el.ValueExpression, jakarta.faces.component.UIComponent, .UINamingContainer, jakarta.faces.context.FacesContext, jakarta.faces.view.AttachedObjectTarget

Field Summary

Modifier and TypeField and Description
private String
private ValueExpression

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private String
public String
getName()

Implements jakarta.faces.view.AttachedObjectTarget.getName.

Returns the name by which this attached object target is exposed to the page author.

public List<UIComponent>
getTargets(UIComponent
the top level component for this composite component.
topLevelComponent
)

Implements jakarta.faces.view.AttachedObjectTarget.getTargets.

Returns the List<UIComponent> that this AttachedObjectTarget exposes.

pack-priv ValueExpression
pack-priv void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
targetsListback to summary
private ValueExpression targetsList

Constructor Detail

AttachedObjectTargetImplback to summary
public AttachedObjectTargetImpl()

Method Detail

augmentSearchIdback to summary
private String augmentSearchId(FacesContext ctx, UIComponent c, String targetId)
getNameback to summary
public String getName()

Implements jakarta.faces.view.AttachedObjectTarget.getName.

Doc from jakarta.faces.view.AttachedObjectTarget.getName.

Returns the name by which this attached object target is exposed to the page author.

Returns:String

the name of the attached object target

Annotations
@Override
getTargetsback to summary
public List<UIComponent> getTargets(UIComponent topLevelComponent)

Implements jakarta.faces.view.AttachedObjectTarget.getTargets.

Doc from jakarta.faces.view.AttachedObjectTarget.getTargets.

Returns the List<UIComponent> that this AttachedObjectTarget exposes. Each attached object exposed by the composite component author may point at multiple UIComponent instances within the composite component. This method is used by the jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects method to take the appropriate action on the attached object.

Parameters
topLevelComponent:UIComponent

the top level component for this composite component.

Returns:List<UIComponent>

the result as specified above

Annotations
@Override
getTargetsListback to summary
pack-priv ValueExpression getTargetsList()
setNameback to summary
pack-priv void setName(String name)
setTargetsListback to summary
pack-priv void setTargetsList(ValueExpression targetsList)