code: private static Collection<Polygon> polygonWithLineSplitter(Polygon polygon, LineString lineString) throws SQLException {
          Collection<Polygon> polygons = splitPolygonizer(polygon, lineString);
          if (polygons != null && polygons.size() > 1) {
              List<Polygon> pols = new ArrayList<Polygon>();
              for (Polygon pol : polygons) {
                  if (polygon.contains(pol.getInteriorPoint())) {
                      pols.add(pol);
                  }
              }
              return pols;
          }
          return null;
      }
docs: Splits a Polygon using a LineString.
  
  @param polygon
  @param lineString
  @return