/** * Creates a <code>MultiPoint</code> using the next token in the stream. * * @return a <code>MultiPoint</code> specified by the next token in the stream * @throws IOException if an I/O error occurs * @throws ParseException if an unexpected token was encountered */ private MultiPoint readMultiPointText() throws IOException, ParseException { return geometryFactory.createMultiPoint(toPoints(getCoordinatesForMultiPoint())); }