org.deegree.protocol.ows.getcapabilities
Class GetCapabilitiesKVPParser
java.lang.Object
org.deegree.protocol.ows.getcapabilities.GetCapabilitiesKVPParser
public class GetCapabilitiesKVPParser
- extends Object
Generic KVP parser for OWS/OGC GetCapabilities requests.
Handles GetCapabilities requests that are compliant to the following specifications:
- WFS 1.0.0
- OWS Common 1.0.0
- OWS Common 1.1.0
Additionally evaluates the LANGUAGE
parameter for multilingual services according to OWS Common change
request OGC 08-016r2. This is used by the WPS Specification 1.0.0.
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , last edited by: $Author:$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetCapabilitiesKVPParser
public GetCapabilitiesKVPParser()
parse
public static GetCapabilities parse(Map<String,String> kvpParams)
throws InvalidParameterValueException
- Parses a normalized (upper-cased keys) KVP-map as an
GetCapabilities
request.
NOTE: The parameters "SERVICE" and "REQUEST" are not evaluated. It is assumed that the caller already checked
them.
- Parameters:
kvpParams
- normalized KVP-map; keys must be uppercase, each key only has one associated value
- Returns:
GetCapabilities
request
- Throws:
InvalidParameterValueException
- if a parameter (e.g. ACCEPTVERSIONS) contains a syntactical error
Copyright © 2011. All Rights Reserved.