public class InvalidVersionParser extends java.lang.Object implements MapParameterParser, FeatureParameterParser
WMS invalid version operation parameter parser.
When SuperMap iServer gets a version of the WMS service request that is not implemented, it will use the parser to parse the parameters of the relevant operation.
Modifier and Type | Field and Description |
---|---|
protected ResourceManager |
resource
Resource manager.
|
Constructor and Description |
---|
InvalidVersionParser(java.lang.String version)
Construct a InvalidVersionParser object based on a WMS version number.
|
Modifier and Type | Method and Description |
---|---|
WMSQueryParameter |
parse(java.util.Map<java.lang.String,java.lang.String> paramMap)
Parse the parameter in keyword-value format of the request.
|
public InvalidVersionParser(java.lang.String version)
version
- WMS version.public WMSQueryParameter parse(java.util.Map<java.lang.String,java.lang.String> paramMap) throws OGCParameterException
parse
in interface FeatureParameterParser
parse
in interface MapParameterParser
paramMap
- the parameter is a java.util.Map object, the key is the parameter name of the request, the value is the parameter value.OGCParameterException
- parameter exception of OGC service. When the version number is empty, or the current version of SuperMap iServer is temporarily not implemented, the exception is thrown.