com.supermap.services.wms.request

Class MapParameterParserFactory

  • java.lang.Object
    • com.supermap.services.wms.request.MapParameterParserFactory
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static MapParameterParser createParser(java.lang.String version, WMSCapabilities capabilities, java.lang.String defaultBgColor, ResourceManager resource)
      Create the GetMap operation parameter parser of WMS.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapParameterParserFactory

        protected MapParameterParserFactory()
        
        Constructor.
    • 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 operation
        resource - 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.