A VisitContext implementation that is used when performing a full component tree visit.
RELEASE_PENDING| Modifier and Type | Field and Description |
|---|---|
| private final FacesContext | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | FullVisitContext(FacesContext
the FacesContext for the current request facesContext)Creates a FullVisitorContext instance. |
| public | FullVisitContext(FacesContext
the FacesContext for the current request facesContext, Set<VisitHint> a the VisitHints for this visit hints)Creates a FullVisitorContext instance with the specified hints. |
| Modifier and Type | Method and Description |
|---|---|
| public FacesContext | getFacesContext()
Implements abstract jakarta. Returns the FacesContext for the current request. |
| public Set | getHints()
Implements abstract jakarta. Returns hints that influence the behavior of the tree visit. |
| public Collection | getIdsToVisit()
Implements abstract jakarta. Returns the ids of the components to visit. |
| public Collection | getSubtreeIdsToVisit(UIComponent
a NamingContainer component component)Implements abstract jakarta.
Given a |
| public VisitResult | invokeVisitCallback(UIComponent
the component to visit component, VisitCallback the VisitCallback to call callback)Implements abstract jakarta.
Called by |
| facesContext | back to summary |
|---|---|
| private final FacesContext facesContext | |
| hints | back to summary |
|---|---|
| private final Set<VisitHint> hints | |
| FullVisitContext | back to summary |
|---|---|
| public FullVisitContext(FacesContext facesContext) Creates a FullVisitorContext instance.
| |
| FullVisitContext | back to summary |
|---|---|
| public FullVisitContext(FacesContext facesContext, Set<VisitHint> hints) Creates a FullVisitorContext instance with the specified hints.
| |
| getFacesContext | back to summary |
|---|---|
| public FacesContext getFacesContext() Implements abstract jakarta. Doc from jakarta. Returns the FacesContext for the current request.
| |
| getHints | back to summary |
|---|---|
| public Set Implements abstract jakarta. Doc from jakarta. Returns hints that influence the behavior of the tree visit.
Interested parties, such as
| |
| getIdsToVisit | back to summary |
|---|---|
| public Collection Implements abstract jakarta. Doc from jakarta. Returns the ids of the components to visit. In the case of a full tree visit, this method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a modifiable collection containing the client ids of the components that should be visited.
| |
| getSubtreeIdsToVisit | back to summary |
|---|---|
| public Collection Implements abstract jakarta. Doc from jakarta.
Given a This method is called by NamingContainer visitTree() implementations to determine whether the NamingContainer contains components to be visited. In the case where no such components exist, the NamingContainer can short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating components such as UIData may be able to use the returned ids to determine which iterated states (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those rows that contain visit targets need to be traversed.
| |
| invokeVisitCallback | back to summary |
|---|---|
| public VisitResult invokeVisitCallback(UIComponent component, VisitCallback callback) Implements abstract jakarta. Doc from jakarta.
Called by
| |