public class MapParameterParser111 extends MapParameterParserImpl implements MapParameterParser
WMS 1.1.1 the parameter parser of the GetMap operation.
Convert the keyword-value pair(that is "Parameter name=Parameter value" of the GetMap request to the WMSMapParameter
object.
capabilities, mapName, validator
Constructor and Description |
---|
MapParameterParser111(WMSCapabilities capabilities) |
MapParameterParser111(WMSCapabilities capabilities, java.lang.String defaultBgColor)
Construct a MapParameterParser111 object according to WMS meta data information.
|
Modifier and Type | Method and Description |
---|---|
protected Validator |
createValidator(WMSCapabilities capabilities, java.lang.String defaultBgColor)
Create WMS 1.1.1 GetMap request parameter verifier.
|
WMSMapParameter |
parse(java.util.Map<java.lang.String,java.lang.String> paramMap)
Parse the parameter in keyword-value format of the WMS 1.1.1 GetMap request.
|
public MapParameterParser111(WMSCapabilities capabilities)
public MapParameterParser111(WMSCapabilities capabilities, java.lang.String defaultBgColor)
capabilities
- WMS meta information.public WMSMapParameter parse(java.util.Map<java.lang.String,java.lang.String> paramMap) throws OGCParameterException
parse
in interface MapParameterParser
parse
in class MapParameterParserImpl
paramMap
- the parameter is a java.util.Map object, the key is the parameter name of the GetMap request, the value is the parameter value.OGCParameterException
- parameter exception of OGC service.protected Validator createValidator(WMSCapabilities capabilities, java.lang.String defaultBgColor)
createValidator
in class MapParameterParserImpl
capabilities
- WMS meta information.