public class AttachedObjectTargetImpl extends Object implements javax.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<javax.faces.component.UIComponent> |
getTargets(javax.faces.component.UIComponent topLevelComponent)
Returns the
|
public String getName()
javax.faces.view.AttachedObjectTargetReturns the name by which this attached object target is exposed to the page author.
getName in interface javax.faces.view.AttachedObjectTargetpublic List<javax.faces.component.UIComponent> getTargets(javax.faces.component.UIComponent topLevelComponent)
javax.faces.view.AttachedObjectTargetReturns 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(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.util.List<javax.faces.view.AttachedObjectHandler>)
method to take the appropriate action on the attached object.
getTargets in interface javax.faces.view.AttachedObjectTargettopLevelComponent - the top level component for this
composite component.Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.