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 $
Method Summary |
static GetFeature |
parse(java.util.Map<java.lang.String,java.lang.String> kvpParams,
java.util.Map<java.lang.String,java.lang.String> nsMap)
Parses a normalized KVP-map as a WFS GetFeature request. |
GetFeature |
parseParams(java.util.Map<java.lang.String,java.lang.String> kvpParams,
java.util.Map<java.lang.String,java.lang.String> nsMap)
|
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(java.util.Map<java.lang.String,java.lang.String> kvpParams,
java.util.Map<java.lang.String,java.lang.String> nsMap)
throws java.lang.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:
java.lang.Exception
parseParams
public GetFeature parseParams(java.util.Map<java.lang.String,java.lang.String> kvpParams,
java.util.Map<java.lang.String,java.lang.String> nsMap)
throws java.lang.Exception
- Parameters:
kvpParams
- prefixToNamespace
- only for 1.0.0 version; the prefix-namespace map given in the NamespaceHints in the configuration
- Returns:
-
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.