com.supermap.services.wms.request

Class InvalidVersionParser

  • java.lang.Object
    • com.supermap.services.wms.request.InvalidVersionParser
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected ResourceManager resource
      Resource 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
      WMSQueryParameter parse(java.util.Map<java.lang.String,java.lang.String> paramMap)
      Parse the parameter in keyword-value format of the request.
      • Methods inherited from class java.lang.Object

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

      • resource

        protected ResourceManager resource
        
        Resource manager.
    • 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:
        parse in interface FeatureParameterParser
        Specified by:
        parse in interface MapParameterParser
        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.