com.supermap.services.wms.request
Class InvalidVersionParser
- java.lang.Object
-
- com.supermap.services.wms.request.InvalidVersionParser
-
- All Implemented Interfaces:
- FeatureParameterParser, MapParameterParser
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.
-
-
Field Summary
Fields Modifier and Type Field and Description protected ResourceManagerresourceResource manager.
-
Constructor Summary
Constructors Constructor and Description InvalidVersionParser(java.lang.String version)Construct a InvalidVersionParser object based on a WMS version number.
-
Method Summary
Methods Modifier and Type Method and Description WMSQueryParameterparse(java.util.Map<java.lang.String,java.lang.String> paramMap)Parse the parameter in keyword-value format of the request.
-
-
-
Constructor Detail
-
InvalidVersionParser
public InvalidVersionParser(java.lang.String version)
Construct a InvalidVersionParser object based on a WMS version number.- Parameters:
version- WMS version.
-
-
Method Detail
-
parse
public WMSQueryParameter parse(java.util.Map<java.lang.String,java.lang.String> paramMap) throws OGCParameterException
Parse the parameter in keyword-value format of the request.- Specified by:
parsein interfaceFeatureParameterParser- Specified by:
parsein interfaceMapParameterParser- Parameters:
paramMap- the parameter is a java.util.Map object, the key is the parameter name of the request, the value is the parameter value.- Returns:
- WMS query parameter.
- Throws:
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.
-
-