Interface TreeTraversal.Visitor

All Known Subinterfaces:
TreeTraversal.SpanIntersectingVisitor
All Known Implementing Classes:
AllPathsVisitor, AncestorsRelativeVisitor, AncestorsRootVisitor, CanonicalSuccessorsRelativeVisitor, OrderedSuccessorsVisitor, SuccessorsRelativeVisitor
Enclosing class:
TreeTraversal

public static interface TreeTraversal.Visitor
An object-tree visitor

Traversal starts at a seed object or value (node or edge, respectively) and proceeds in alternating fashion from object to value to object and so on via continueObject(TraceObjectValue) and continueValues(TraceObject, Lifespan, TraceObjectValPath). Filtering is performed on values via visitValue(TraceObjectValue, TraceObjectValPath). As traversal descends, paths and spans are composed to inform filtering and construct the final result stream. Note that some traversals start at a seed and "descend" along the ancestry.