org.geotools.data.wfs.protocol.wfs
Interface WFSResponseParser

All Known Implementing Classes:
DescribeFeatureTypeParser, ExceptionReportParser, FeatureCollectionParser

public interface WFSResponseParser

A simple interface to parse the response of a WFS request.

Since:
2.6
Author:
Gabriel Roldan (OpenGeo)
See Also:
WFSResponseParserFactory, WFSResponse
Module:

Method Summary
 Object parse(WFS_1_1_0_DataStore wfs, WFSResponse response)
          Produces a parsed object from the WFS response stream.
 

Method Detail

parse

Object parse(WFS_1_1_0_DataStore wfs,
             WFSResponse response)
             throws IOException
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.

Parameters:
wfs - the datastore that issued the request and obtained the given response
response - the handle to the WFS response contents
Returns:
the implementation dependent object that's parsed from the WFS response contents
Throws:
IOException - if an exception is produced while parsing the response


Copyright © 1996-2009 Geotools. All Rights Reserved.