org.deegree.protocol.wfs.getfeature
Class GetFeatureKVPAdapter
java.lang.Object
org.deegree.protocol.wfs.AbstractWFSRequestKVPAdapter
org.deegree.protocol.wfs.getfeature.GetFeatureKVPAdapter
public class GetFeatureKVPAdapter
- extends AbstractWFSRequestKVPAdapter
Adapter between KVP GetFeature
requests and GetFeature
objects.
Creating the GetFeature beans from the KVP keywords=value. There can be three types of queries in KVP:
Some keys are specific for a query type, some are required, etc. For a comprehensive table of keywords and values
please look at the WFS v1.1 implementation specification.
- Version:
- $Revision: $, $Date: $
- Author:
- Markus Schneider, Andrei Ionita, last edited by: $Author: schneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetFeatureKVPAdapter
public GetFeatureKVPAdapter()
parse
public static GetFeature parse(Map<String,String> kvpParams,
Map<String,String> nsMap)
throws Exception
- Parses a normalized KVP-map as a WFS
GetFeature
request.
Supported versions:
- Parameters:
kvpParams
- normalized KVP-map; keys must be uppercase, each key only has one associated valueprefixToNamespace
- only for 1.0.0 version; the prefix-namespace map given in the NamespaceHints in the configurationconfigFeatures
- only for 1.0.0 version; in case the typeNames in queries are not bound to a namespace, have this array
of feature name to search for a potential match
- Returns:
- parsed
GetFeature
request
- Throws:
Exception
parseParams
public GetFeature parseParams(Map<String,String> kvpParams,
Map<String,String> nsMap)
throws Exception
- Parameters:
kvpParams
- prefixToNamespace
- only for 1.0.0 version; the prefix-namespace map given in the NamespaceHints in the configuration
- Returns:
-
- Throws:
Exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>