Class AttachedObjectTargetImpl
- java.lang.Object
-
- com.sun.faces.facelets.tag.composite.AttachedObjectTargetImpl
-
- All Implemented Interfaces:
AttachedObjectTarget
- Direct Known Subclasses:
ActionSource2AttachedObjectTargetImpl,BehaviorHolderAttachedObjectTargetImpl,EditableValueHolderAttachedObjectTargetImpl,ValueHolderAttachedObjectTargetImpl
public class AttachedObjectTargetImpl extends Object implements AttachedObjectTarget
-
-
Field Summary
-
Fields inherited from interface jakarta.faces.view.AttachedObjectTarget
ATTACHED_OBJECT_TARGETS_KEY
-
-
Constructor Summary
Constructors Constructor Description AttachedObjectTargetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name by which this attached object target is exposed to the page author.List<UIComponent>getTargets(UIComponent topLevelComponent)Returns theList<UIComponent>that thisAttachedObjectTargetexposes.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:AttachedObjectTargetReturns the name by which this attached object target is exposed to the page author.
- Specified by:
getNamein interfaceAttachedObjectTarget- Returns:
- the name of the attached object target
-
getTargets
public List<UIComponent> getTargets(UIComponent topLevelComponent)
Description copied from interface:AttachedObjectTargetReturns the
List<UIComponent>that thisAttachedObjectTargetexposes. Each attached object exposed by the composite component author may point at multipleUIComponentinstances 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:
getTargetsin interfaceAttachedObjectTarget- Parameters:
topLevelComponent- the top level component for this composite component.- Returns:
- the result as specified above
-
-