public class AttachedObjectTargetImpl extends Object implements jakarta.faces.view.AttachedObjectTarget
| Constructor and Description |
|---|
AttachedObjectTargetImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name by which this attached object target is exposed to the page author. |
List<jakarta.faces.component.UIComponent> |
getTargets(jakarta.faces.component.UIComponent topLevelComponent)
Returns the |
public String getName()
jakarta.faces.view.AttachedObjectTargetReturns the name by which this attached object target is exposed to the page author.
getName in interface jakarta.faces.view.AttachedObjectTargetpublic List<jakarta.faces.component.UIComponent> getTargets(jakarta.faces.component.UIComponent topLevelComponent)
jakarta.faces.view.AttachedObjectTarget
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
ViewDeclarationLanguage.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.
getTargets in interface jakarta.faces.view.AttachedObjectTargettopLevelComponent - the top level component for this composite component.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.