org.geotools.data.wfs.protocol.wfs
Class WFSExtensions
Object
WFSExtensions
public class WFSExtensions
- extends Object
Utility class to look up for a parser that can deal with a given WFS response and process it.
This class uses the usual GeoTools SPI (Service Provider Interface) mechanism to find out a
WFSResponseParserFactory
for a given WFSResponse
. As such,
WFSResponseParserFactory
implementation may live outside this plugin as long as they're
declared in it's own {code
/META-INF/services/org.geotools.data.wfs.protocol.wfs.WFSResponseParserFactory} text file.
- Since:
- 2.6
- Author:
- Gabriel Roldan (OpenGeo)
- Module:
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WFSExtensions
public WFSExtensions()
process
public static Object process(WFS_1_1_0_DataStore wfs,
WFSResponse response)
throws IOException
- Processes the result of a WFS operation and returns the parsed object.
The result can either be:
- a
WFSException
exception if the WFS response was an exception report
- a
GetFeatureParser
if the WFS returned a FeatureCollection
- Parameters:
request
- the WFS request that originated the given responseresponse
- the handle to the WFS response contents
- Returns:
-
- Throws:
IOException
Copyright © 1996-2010 Geotools. All Rights Reserved.