deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.protocol.wfs.getfeature
Class GetFeatureKVPAdapter

java.lang.Object
  extended by org.deegree.protocol.wfs.AbstractWFSRequestKVPAdapter
      extended by 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 $

Constructor Summary
GetFeatureKVPAdapter()
           
 
Method Summary
static GetFeature parse(Map<String,String> kvpParams, Map<String,String> nsMap)
          Parses a normalized KVP-map as a WFS GetFeature request.
 GetFeature parseParams(Map<String,String> kvpParams, Map<String,String> nsMap)
           
 
Methods inherited from class org.deegree.protocol.wfs.AbstractWFSRequestKVPAdapter
appendFirstKVP, appendKVP, extractNamespaceBindings, extractTypeNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFeatureKVPAdapter

public GetFeatureKVPAdapter()
Method Detail

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 value
prefixToNamespace - only for 1.0.0 version; the prefix-namespace map given in the NamespaceHints in the configuration
configFeatures - 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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>