org.deegree.protocol.wfs.getgmlobject
Class GetGmlObjectKVPAdapter

java.lang.Object
  extended by org.deegree.protocol.wfs.AbstractWFSRequestKVPAdapter
      extended by org.deegree.protocol.wfs.getgmlobject.GetGmlObjectKVPAdapter

public class GetGmlObjectKVPAdapter
extends AbstractWFSRequestKVPAdapter

Adapter between KVP GetGmlObject requests and GetGmlObject objects.

TODO code for exporting to KVP form

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, Andrei Ionita, last edited by: $Author: schneider $

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

Constructor Detail

GetGmlObjectKVPAdapter

public GetGmlObjectKVPAdapter()
Method Detail

parse

public static GetGmlObject parse(Map<String,String> kvpParams)
                          throws MissingParameterException,
                                 InvalidParameterValueException
Parses a normalized KVP-map as a WFS GetGmlObject request.

Supported versions:

Parameters:
kvpParams - normalized KVP-map; keys must be uppercase, each key only has one associated value
Returns:
parsed GetGmlObject request
Throws:
MissingParameterException - if the request version is unsupported
InvalidParameterValueException - if a parameter contains a syntax error

parse110

public static GetGmlObject parse110(Map<String,String> kvpParams)
                             throws InvalidParameterValueException
Parses a normalized KVP-map as a WFS 1.1.0 GetGmlObject request.

Parameters:
kvpParams - normalized KVP-map; keys must be uppercase, each key only has one associated value
Returns:
parsed GetGmlObject request
Throws:
InvalidParameterValueException - if a parameter contains a syntax error


Copyright © 2011. All Rights Reserved.