/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.data.wfs.internal; import java.io.IOException; import org.opengis.feature.simple.SimpleFeature; /** * Interface to abstract out the parsing of features coming from a GetFeature request from the * underlying xml parsing technology in use. * * @author Gabriel Roldan (TOPP) * @version $Id$ * @since 2.5.x * * @Deprecated instead of using GetFeatureParser, just implement GetParser<SimpleFeature> directly. * * @source $URL$ * http://gtsvn.refractions.net/trunk/modules/plugin/wfs/src/main/java/org/geotools/data * /wfs/protocol/wfs/GetFeatureParser.java $ */ @Deprecated public interface GetFeatureParser extends GetParser<SimpleFeature>{ /** * @return the next feature in the stream or {@code null} if there are no more features to * parse. */ @Deprecated SimpleFeature parse() throws IOException; }