Class AttachedObjectTargetImpl
java.lang.Object
com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl
- All Implemented Interfaces:
AttachedObjectTarget
- Direct Known Subclasses:
ActionSource2AttachedObjectTargetImpl
,BehaviorHolderAttachedObjectTargetImpl
,EditableValueHolderAttachedObjectTargetImpl
,ValueHolderAttachedObjectTargetImpl
-
Field Summary
Fields inherited from interface jakarta.faces.view.AttachedObjectTarget
ATTACHED_OBJECT_TARGETS_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name by which this attached object target is exposed to the page author.getTargets
(UIComponent topLevelComponent) Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.
-
Constructor Details
-
AttachedObjectTargetImpl
public AttachedObjectTargetImpl()
-
-
Method Details
-
getName
Description copied from interface:AttachedObjectTarget
Returns the name by which this attached object target is exposed to the page author.
- Specified by:
getName
in interfaceAttachedObjectTarget
- Returns:
- the name of the attached object target
-
getTargets
Description copied from interface:AttachedObjectTarget
Returns the
List<UIComponent>
that thisAttachedObjectTarget
exposes. Each attached object exposed by the composite component author may point at multipleUIComponent
instances within the composite component. This method is used by theViewDeclarationLanguage.retargetAttachedObjects(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.util.List<jakarta.faces.view.AttachedObjectHandler>)
method to take the appropriate action on the attached object.- Specified by:
getTargets
in interfaceAttachedObjectTarget
- Parameters:
topLevelComponent
- the top level component for this composite component.- Returns:
- the result as specified above
-