All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.apicurio.datamodels.models.visitors.TraversalContext Maven / Gradle / Ivy

package io.apicurio.datamodels.models.visitors;

import java.util.List;

/**
 * Context used during traversal of a model. This gives insight into where in
 * the traversal of a model a visitor/traverser might be. The traverser
 * maintains this context and optionally makes it available to the visitor (only
 * if the visitor implements the TraversingVisitor interface.
 */
public interface TraversalContext {

	public TraversalStep getMostRecentStep();

	public List getAllSteps();

	public boolean containsStep(TraversalStepType type, Object value);

	public String getMostRecentPropertyStep();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy