Package org.apache.wicket.util.visit
Interface IVisit<R>
- Type Parameters:
R
- type of object the visitor is expected to return, if none useVoid
- All Known Implementing Classes:
Visit
public interface IVisit<R>
Allows visitors to control the visit/traversal
- Author:
- igor.vaynberg
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Prevents the visitor from visiting any children of the object currently visitedvoid
stop()
Stops the visit/traversalvoid
Stops the visit/traversal and returnsresult
-
Method Details
-
stop
void stop()Stops the visit/traversal -
stop
Stops the visit/traversal and returnsresult
- Parameters:
result
-
-
dontGoDeeper
void dontGoDeeper()Prevents the visitor from visiting any children of the object currently visited
-