|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.wfs.protocol.wfs.WFSExtensions
public class WFSExtensions
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.
Constructor Summary | |
---|---|
WFSExtensions()
|
Method Summary | |
---|---|
static java.lang.Object |
process(WFS_1_1_0_DataStore wfs,
WFSResponse response)
Processes the result of a WFS operation and returns the parsed object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WFSExtensions()
Method Detail |
---|
public static java.lang.Object process(WFS_1_1_0_DataStore wfs, WFSResponse response) throws java.io.IOException
The result can either be:
WFSException
exception if the WFS response was an exception report
GetFeatureParser
if the WFS returned a FeatureCollection
request
- the WFS request that originated the given responseresponse
- the handle to the WFS response contents
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |