Class AbstractSimpleQueryModelVisitor<X extends Exception>

  • All Implemented Interfaces:
    QueryModelVisitor<X>
    Direct Known Subclasses:
    StatementPatternCollector, VarNameCollector

    public abstract class AbstractSimpleQueryModelVisitor<X extends Exception>
    extends Object
    implements QueryModelVisitor<X>
    Base class for QueryModelVisitors. This class implements all meet(... node) methods from the visitor interface, forwarding the call to a method for the node's supertype. This is done recursively until. This allows subclasses to easily define default behaviour for visited nodes of a certain type.