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
Version:
$Id: WFSResponseParser.java 31823 2008-11-11 16:11:49Z groldan $
Author:
Gabriel Roldan (OpenGeo)
See Also:
WFSResponseParserFactory, WFSResponse

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

Method Detail

parse

java.lang.Object parse(WFS_1_1_0_DataStore wfs,
                       WFSResponse response)
                       throws java.io.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:
java.io.IOException - if an exception is produced while parsing the response


Copyright © 1996-2010 Geotools. All Rights Reserved.