public interface GetParser<F extends Feature>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the parser.
|
FeatureType |
getFeatureType()
Get the feature type that the parser is targeting.
|
int |
getNumberOfFeatures()
Returns the number of features if advertised by the server and the parser was able to get
that information for example from the
wfs:FeatureCollection "numberOfFeatures" xml
attribute, or -1 if unknown. |
F |
parse() |
void |
setGeometryFactory(GeometryFactory geometryFactory)
Set the geometry factory.
|
int getNumberOfFeatures()
wfs:FeatureCollection
"numberOfFeatures" xml
attribute, or -1
if unknown.-1
if unknownF parse() throws IOException
null
if there are no more features to
parse.IOException
void close() throws IOException
IOException
- Throws IOException if there was a problem closing the parser.FeatureType getFeatureType()
void setGeometryFactory(GeometryFactory geometryFactory)
geometryFactory
- The geometry factory to use.Copyright © 1996–2019 Geotools. All rights reserved.