com.supermap.services.wms

Class WMSConfig

  • java.lang.Object
    • com.supermap.services.wms.WMSConfig
  • All Implemented Interfaces:
    java.io.Serializable


    public class WMSConfig
    extends java.lang.Object
    implements java.io.Serializable
    

    WMS service configuration information.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      boolean cacheEnabled
      Whether the cache is available.
      java.lang.String[] crs
      The specific coordinate system of the WMS interface, when is 1.3.0 it is valid.
      java.lang.String mapName
      Deprecated. 
      ServiceDescription serviceDescription
      Service description info.
      SLDConfig sld
      Supported style information configuration.
      java.lang.String[] srs
      The specific coordinate system of the WMS interface, when is 1.1.1 it is valid.
      boolean useStandardBGColor
      Whether to use the wms standard way to process the default value of the bgcolor parameter.
      java.lang.String version
      The WMS service version.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WMSConfig()
      The Constructor.
      WMSConfig(WMSConfig wmsConfig)
      The Constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Compares whether the specified object equals to the current WMSConfig object.
      int hashCode()
      Get the hash value of the instance of the object
      • Methods inherited from class java.lang.Object

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

      • mapName

        @Deprecated
        public java.lang.String mapName
        
        Deprecated. 
        Map name.
      • serviceDescription

        public ServiceDescription serviceDescription
        
        Service description info.
      • version

        public java.lang.String version
        

        The WMS service version. Such as "1.1.1".

      • srs

        public java.lang.String[] srs
        
        The specific coordinate system of the WMS interface, when is 1.1.1 it is valid. Optional parameters.
      • crs

        public java.lang.String[] crs
        
        The specific coordinate system of the WMS interface, when is 1.3.0 it is valid. Optional parameters.
      • cacheEnabled

        public boolean cacheEnabled
        
        Whether the cache is available. True means the response result of the tiles getting operation will be saved to the disk, when there is the same request, it will use the cache images.
      • sld

        public SLDConfig sld
        

        Supported style information configuration.

      • useStandardBGColor

        public boolean useStandardBGColor
        
        Whether to use the wms standard way to process the default value of the bgcolor parameter.
        If useStandardBGColor is true, in the getMap operation, when the bgcolor parameter is null or not set, set bgcolor to "0xffffff"
        If useStandardBGColor is false, in the getMap operation, when the bgcolor parameter is null or not set, set the bgcolor to the front color of the background style in the default configuration of the map.
    • Constructor Detail

      • WMSConfig

        public WMSConfig()
        

        The Constructor.

      • WMSConfig

        public WMSConfig(WMSConfig wmsConfig)
        

        The Constructor.

        Parameters:
        wmsConfig - WMS service configuration information object.
    • Method Detail

      • hashCode

        public final int hashCode()
        
        Get the hash value of the instance of the object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash code
      • equals

        public final boolean equals(java.lang.Object obj)
        

        Compares whether the specified object equals to the current WMSConfig object.

        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object to compare with the current WMSConfig object.
        Returns:
        true if the two objects are equal, or false otherwise.