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

public Class AttachedObjectTargetImpl

extends Object
implements AttachedObjectTarget
Class Inheritance
All Implemented Interfaces
javax.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.ActionSource2AttachedObjectTargetImpl
Imports
com.sun.faces.util.Util, javax.el.ValueExpression, javax.faces.component.UIComponent, .UINamingContainer, javax.faces.context.FacesContext, javax.faces.view.AttachedObjectTarget, java.util.ArrayList, .List, .Map

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 javax.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 javax.faces.view.AttachedObjectTarget.getTargets.

Returns the List<UIComponent> that this AttachedObjectTarget exposes.

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 javax.faces.view.AttachedObjectTarget.getName.

Doc from javax.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 javax.faces.view.AttachedObjectTarget.getTargets.

Doc from javax.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 javax.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
setNameback to summary
pack-priv void setName(String name)
setTargetsListback to summary
pack-priv void setTargetsList(ValueExpression targetsList)