code: public static Filter getBboxFilter( String attribute, BoundingBox bbox ) throws CQLException {
          double w = bbox.getMinX();
          double e = bbox.getMaxX();
          double s = bbox.getMinY();
          double n = bbox.getMaxY();
  
          return getBboxFilter(attribute, w, e, s, n);
      }
docs: Create a bounding box filter from a bounding box.
  
  @param attribute the geometry attribute or null in the case of default "the_geom".
  @param bbox the {@link BoundingBox}.
  @return the filter.
  @throws CQLException