com.supermap.services.wms.request
Class MapParameterParserFactory
- java.lang.Object
-
- com.supermap.services.wms.request.MapParameterParserFactory
-
public class MapParameterParserFactory extends java.lang.ObjectWMS GetMap operation parameter parser factory.
It's used to create the GetMap operation parameter parser of WMS in various version.
-
-
Constructor Summary
Constructors Modifier Constructor and Description protectedMapParameterParserFactory()Constructor.
-
Method Summary
Methods Modifier and Type Method and Description static MapParameterParsercreateParser(java.lang.String version, WMSCapabilities capabilities, java.lang.String defaultBgColor, ResourceManager resource)Create the GetMap operation parameter parser of WMS.
-
-
-
Method Detail
-
createParser
public static MapParameterParser createParser(java.lang.String version, WMSCapabilities capabilities, java.lang.String defaultBgColor, ResourceManager resource)
Create the GetMap operation parameter parser of WMS.- Parameters:
version- WMS version.capabilities- WMS meta information.defaultBgColor- The default value of the bgColor parameter of the WMS getMap operationresource- resource manager.- Returns:
- WMS GetMap operation parameter parser.
-
- If the WMS version is 1.1.1, it returns the WMS 1.1.1 GetMap operation parameter parser.
- If the WMS version is 1.3.0, it returns the WMS 1.3.0 GetMap operation parameter parser.
- Other version, it returns the operation parameter parser of the WMS invalid version.
-