io.apicurio.datamodels.models.visitors.TraversingVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apicurio-data-models Show documentation
Show all versions of apicurio-data-models Show documentation
Open Source API Design Studio
The newest version!
package io.apicurio.datamodels.models.visitors;
/**
* Any visitor that cares about traversal context can implement this interface
* (in addition to the standard Visitor interface). When this interface is
* implemented, the standard traverser will share the traverser context with the
* visitor. This will allow the visitor to have some context about where it is
* in the traversal of the model.
*/
public interface TraversingVisitor {
public void setTraversalContext(TraversalContext context);
}