Class AbstractFilterVisitor

  • All Implemented Interfaces:
    FilterVisitor

    public class AbstractFilterVisitor
    extends Object
    implements FilterVisitor
    Base implementation of the FilterVisitor used for inorder traversal of expressions.

    This class implements the full FilterVisitor interface and will visit every member of a Filter object. This class performs no actions and is not intended to be used directly, instead extend it and overide the methods for the expression types you are interested in. Remember to call the super method if you want to ensure that the entire filter tree is still visited.

    You may still need to implement FilterVisitor directly if the visit order set out in this class does not meet your needs. This class visits in sequence i.e. Left - Middle - Right for all expressions which have sub-expressions.

    Author:
    James Macgill, Penn State, Justin Deoliveira, The Open Planning Project