org.geotools.data.wfs.v1_1_0.parsers
Class FeatureCollectionParser
Object
FeatureCollectionParser
- All Implemented Interfaces:
- WFSResponseParser
public class FeatureCollectionParser
- extends Object
- implements WFSResponseParser
A WFS response parser that parses a GetFeature response that did not return an ExceptionReport
and is on GML 3.1 format into a GetFeatureParser
in order to stream the features produced
by the server.
- Since:
- 2.6
- Author:
- Gabriel Roldan (OpenGeo)
- See Also:
Gml31GetFeatureResponseParserFactory
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureCollectionParser
public FeatureCollectionParser()
setMappedURIs
public void setMappedURIs(Map<String,String> mappedURIs)
- Parameters:
mappedURIs
- the mappedURIs to set
parse
public Object parse(WFS_1_1_0_DataStore wfs,
WFSResponse response)
throws IOException
- Description copied from interface:
WFSResponseParser
- Produces a parsed object from the WFS response stream.
The kind of parsed object depends on the actual response contents and what the specific
parser produces for it.
- Specified by:
parse
in interface WFSResponseParser
- Parameters:
wfs
- the datastore that issued the request and obtained the given responseresponse
- the handle to the WFS response contents
- Returns:
- a
GetFeatureParser
to stream the contents of the GML 3.1 response
- Throws:
IOException
- if an exception is produced while parsing the response
Copyright © 1996-2014 Geotools. All Rights Reserved.