Package jakarta.faces.component.visit
Interface VisitCallback
- 
- All Known Implementing Classes:
- ResetValuesUtils.ResetInputVisitCallback
 
 public interface VisitCallbackA simple callback interface that enables taking action on a specific UIComponent (either facet or child) during a component tree visit. - Since:
- 2.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description VisitResultvisit(VisitContext context, UIComponent target)This method is called during component tree visits byVisitContext.invokeVisitCallback()to visit the specified component.
 
- 
- 
- 
Method Detail- 
visitVisitResult visit(VisitContext context, UIComponent target) This method is called during component tree visits by VisitContext.invokeVisitCallback()to visit the specified component. At the point in time when this method is called, the argumenttargetis guaranteed to be in the proper state with respect to its ancestors in the View.- Parameters:
- context- the- VisitContextfor this tree visit.
- target- the- UIComponentto visit
- Returns:
- a VisitResultthat indicates whether to continue visiting the component's subtree, skip visiting the component's subtree or end the visit.
 
 
- 
 
-