Class WMSMapProviderSetting
- java.lang.Object
-
- com.supermap.services.components.spi.MapProviderSetting
-
- com.supermap.services.providers.WMSMapProviderSetting
-
- All Implemented Interfaces:
- OGCProviderSetting, java.io.Serializable
public class WMSMapProviderSetting extends MapProviderSetting implements OGCProviderSetting
The WMS map service provider setting class.
Used to set up WMS map service provider information.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description doubledefaultScaleDeprecated.-
Fields inherited from class com.supermap.services.components.spi.MapProviderSetting
dataPrjCoordSysType, watermark
-
-
Constructor Summary
Constructors Constructor and Description WMSMapProviderSetting()
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Determines whether two objects are equal.booleangetCacheEnabled()Gets whether the cache mechanism is enabled.java.lang.StringgetPassword()Gets the password corresponding to the user name of the authorized access service.java.lang.StringgetServiceRootURL()Gets the WMS service root URI.java.lang.StringgetUsername()Gets the user name of the authorized access service.java.lang.StringgetVersion()Gets the version number of the WMS service.inthashCode()Gets the hash value of the object instancebooleanisReverseLayerOrder()Gets whether the layer order is upside down.voidsetCacheEnabled(boolean cacheEnabled)Sets whether the cache mechanism is enabled.voidsetPassword(java.lang.String password)Sets the password corresponding to the user name of the authorized access service.voidsetReverseLayerOrder(boolean reverseLayerOrder)Sets whether the layer order is upside down.voidsetServiceRootURL(java.lang.String serviceRootURL)Sets the WMS service root URI.voidsetUsername(java.lang.String username)Sets the user name of the authorized access service.voidsetVersion(java.lang.String version)Sets the version number of the WMS service.-
Methods inherited from class com.supermap.services.components.spi.MapProviderSetting
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
-
-
-
-
Method Detail
-
getVersion
public java.lang.String getVersion()
Gets the version number of the WMS service.
-
setVersion
public void setVersion(java.lang.String version)
Sets the version number of the WMS service.
- Parameters:
version-
-
getUsername
public java.lang.String getUsername()
Gets the user name of the authorized access service.
- Returns:
-
setUsername
public void setUsername(java.lang.String username)
Sets the user name of the authorized access service.
- Parameters:
username-
-
getPassword
public java.lang.String getPassword()
Gets the password corresponding to the user name of the authorized access service.
- Returns:
-
setPassword
public void setPassword(java.lang.String password)
Sets the password corresponding to the user name of the authorized access service.
- Parameters:
password-
-
getServiceRootURL
public java.lang.String getServiceRootURL()
Gets the WMS service root URI.
- Specified by:
getServiceRootURLin interfaceOGCProviderSetting- Returns:
-
setServiceRootURL
public void setServiceRootURL(java.lang.String serviceRootURL)
Sets the WMS service root URI.
- Parameters:
serviceRootURL-
-
setCacheEnabled
public void setCacheEnabled(boolean cacheEnabled)
Sets whether the cache mechanism is enabled.
- Parameters:
cacheEnable- Whether to enable caching.
-
getCacheEnabled
public boolean getCacheEnabled()
Gets whether the cache mechanism is enabled.
- Returns:
- whether the cache mechanism is enabled.
-
isReverseLayerOrder
public boolean isReverseLayerOrder()
Gets whether the layer order is upside down. False indicates that the Layers parameter in the GetMap request is parsed in the leftmost layer at the bottom, and True represents the leftmost layer at the top. The default is False.
- Returns:
- Since:
- 8.0.2
-
setReverseLayerOrder
public void setReverseLayerOrder(boolean reverseLayerOrder)
Sets whether the layer order is upside down. False indicates that the Layers parameter in the GetMap request is parsed in the leftmost layer at the bottom, and True represents the leftmost layer at the top. The default is False.
- Parameters:
reverseLayerOrder-- Since:
- 8.0.2
-
equals
public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- The object to be compared.- Returns:
- a value indicating whether the two objects are equal, true that the two objects are equal.
-
hashCode
public int hashCode()
Gets the hash value of the object instance- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash value
-
-