LOGGER.finer("creating the FID filter");
curFilter = new FidFilterImpl();
} else if (AbstractFilter.isGeometryDistanceFilter(filterType)) {
switch (filterType) {
case FilterType.GEOMETRY_BEYOND:
curFilter = new BeyondImpl(null, null);
break;
case FilterType.GEOMETRY_DWITHIN:
curFilter = new DWithinImpl(null, null);
break;
default:
throw new IllegalFilterException("Not one of the accepted spatial filter types.");
}
} else if (AbstractFilter.isGeometryFilter(filterType)) {
switch (filterType) {
case FilterType.GEOMETRY_EQUALS:
curFilter = new EqualsImpl(null, null);
break;
case FilterType.GEOMETRY_DISJOINT:
curFilter = new DisjointImpl(null, null);
break;
case FilterType.GEOMETRY_DWITHIN:
curFilter = new DWithinImpl(null, null);
break;
case FilterType.GEOMETRY_INTERSECTS:
curFilter = new IntersectsImpl(null, null);
break;
case FilterType.GEOMETRY_CROSSES:
curFilter = new CrossesImpl(null, null);
break;
case FilterType.GEOMETRY_WITHIN:
curFilter = new WithinImpl(null, null);
break;
case FilterType.GEOMETRY_CONTAINS:
curFilter = new ContainsImpl(null, null);
break;
case FilterType.GEOMETRY_OVERLAPS:
curFilter = new OverlapsImpl(null, null);
break;
case FilterType.GEOMETRY_BEYOND:
curFilter = new BeyondImpl(null, null);
break;
case FilterType.GEOMETRY_BBOX:
curFilter = new BBOXImpl(null, null);
break;
case FilterType.GEOMETRY_TOUCHES: