Uses of Class
jakarta.faces.component.visit.VisitContext
-
Uses of VisitContext in jakarta.faces.component
Modifier and TypeMethodDescriptionprotected boolean
UIComponent.isVisitable
(VisitContext context) Returntrue
if this component should be visited,false
otherwise.boolean
UIComponent.visitTree
(VisitContext visitContext, VisitCallback callback) Perform a tree visit starting at this node in the tree.boolean
UIData.visitTree
(VisitContext context, VisitCallback callback) Override the behavior inUIComponent.visitTree(jakarta.faces.component.visit.VisitContext, jakarta.faces.component.visit.VisitCallback)
to handle iteration correctly.boolean
UIForm.visitTree
(VisitContext context, VisitCallback callback) boolean
UINamingContainer.visitTree
(VisitContext context, VisitCallback callback) -
Uses of VisitContext in jakarta.faces.component.visit
Modifier and TypeClassDescriptionclass
Provides a simple implementation ofVisitContext
that can be subclassed by developers wishing to provide specialized behavior to an existingVisitContext
instance.Modifier and TypeMethodDescriptionstatic VisitContext
VisitContext.createVisitContext
(FacesContext context) Creates a VisitContext instance for use withUIComponent.visitTree()
.static VisitContext
VisitContext.createVisitContext
(FacesContext context, Collection<String> ids, Set<VisitHint> hints) Returns a VisitContext instance that is initialized with the specified ids and hintsfor use withUIComponent.visitTree(jakarta.faces.component.visit.VisitContext, jakarta.faces.component.visit.VisitCallback)
.abstract VisitContext
VisitContextFactory.getVisitContext
(FacesContext context, Collection<String> ids, Set<VisitHint> hints) Return a newVisitContext
instance.VisitContextWrapper.getWrapped()
Modifier and TypeMethodDescriptionVisitCallback.visit
(VisitContext context, UIComponent target) This method is called during component tree visits byVisitContext.invokeVisitCallback()
to visit the specified component.ModifierConstructorDescriptionVisitContextWrapper
(VisitContext wrapped) If this visit context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor.