Coordinate[] coords = new Coordinate[] {
new Coordinate(205, 455), new Coordinate(205, 500),
new Coordinate(210, 500),
new Coordinate(210, 455), new Coordinate(205, 455)
};
CoordinateArraySequence seq = new CoordinateArraySequence(coords);
LinearRing ls = new LinearRing(seq, new GeometryFactory());
Polygon ret = new Polygon(ls, null, new GeometryFactory());
Filter intersects = ((FilterFactoryImpl) ff).intersects(ff.property("geom"), ff.literal(ret));
and = ff.and(intersects, bbox);