Class VisitorStub

java.lang.Object
nz.org.riskscape.engine.gt.VisitorStub
All Implemented Interfaces:
org.geotools.api.filter.expression.ExpressionVisitor, org.geotools.api.filter.FilterVisitor

public class VisitorStub extends Object implements org.geotools.api.filter.expression.ExpressionVisitor, org.geotools.api.filter.FilterVisitor

Implements ExpressionVisitor and FilterVisitor with no-op methods. Meant as a utility class to cut down on boiler plate when implementing visitors. Override only the parts you're interested in, rely on NPEs and test coverage to discover where the gaps are.

  • Constructor Details

    • VisitorStub

      public VisitorStub()
  • Method Details

    • visitNullFilter

      public Object visitNullFilter(Object extraData)
      Specified by:
      visitNullFilter in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.ExcludeFilter filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.IncludeFilter filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.And filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.Id filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.Not filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.Or filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsBetween filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsEqualTo filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsNotEqualTo filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsGreaterThan filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsGreaterThanOrEqualTo filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsLessThan filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsLessThanOrEqualTo filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsLike filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsNull filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.PropertyIsNil filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.BBOX filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Beyond filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Contains filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Crosses filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Disjoint filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.DWithin filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Equals filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Intersects filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Overlaps filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Touches filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.spatial.Within filter, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.After after, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.AnyInteracts anyInteracts, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.Before before, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.Begins begins, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.BegunBy begunBy, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.During during, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.EndedBy endedBy, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.Ends ends, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.Meets meets, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.MetBy metBy, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.OverlappedBy overlappedBy, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.TContains contains, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.TEquals equals, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.temporal.TOverlaps contains, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.FilterVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.NilExpression expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Add expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Divide expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Function expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Literal expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Multiply expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.PropertyName expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor
    • visit

      public Object visit(org.geotools.api.filter.expression.Subtract expression, Object extraData)
      Specified by:
      visit in interface org.geotools.api.filter.expression.ExpressionVisitor