code: public static Filter getIntersectsGeometryFilter( String geomName, Geometry geometry ) throws CQLException {
          Filter result = CQL.toFilter("INTERSECTS(" + geomName + ", " + geometry.toText() + " )");
          return result;
      }
docs: Creates an intersect filter.
  
  @param geomName the name of the geom field to filter.
  @param geometry the geometry to use as filtering geom.
  @return the filter.
  @throws CQLException