public class WMSMapProviderSetting extends MapProviderSetting implements OGCProviderSetting
The WMS map service provider setting class.
Used to set up WMS map service provider information.
Modifier and Type | Field and Description |
---|---|
double |
defaultScale
Deprecated.
|
dataPrjCoordSysType, watermark
Constructor and Description |
---|
WMSMapProviderSetting() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether two objects are equal.
|
boolean |
getCacheEnabled()
Gets whether the cache mechanism is enabled.
|
java.lang.String |
getPassword()
Gets the password corresponding to the user name of the authorized access service.
|
java.lang.String |
getServiceRootURL()
Gets the WMS service root URI.
|
java.lang.String |
getUsername()
Gets the user name of the authorized access service.
|
java.lang.String |
getVersion()
Gets the version number of the WMS service.
|
int |
hashCode()
Gets the hash value of the object instance
|
boolean |
isReverseLayerOrder()
Gets whether the layer order is upside down.
|
void |
setCacheEnabled(boolean cacheEnabled)
Sets whether the cache mechanism is enabled.
|
void |
setPassword(java.lang.String password)
Sets the password corresponding to the user name of the authorized access service.
|
void |
setReverseLayerOrder(boolean reverseLayerOrder)
Sets whether the layer order is upside down.
|
void |
setServiceRootURL(java.lang.String serviceRootURL)
Sets the WMS service root URI.
|
void |
setUsername(java.lang.String username)
Sets the user name of the authorized access service.
|
void |
setVersion(java.lang.String version)
Sets the version number of the WMS service.
|
getCacheMode, getCacheVersion, getName, getOutputPath, getOutputSite, getWatermark, setCacheMode, setCacheVersion, setName, setOutputPath, setOutputSite, setWatermark
public java.lang.String getVersion()
Gets the version number of the WMS service.
public void setVersion(java.lang.String version)
Sets the version number of the WMS service.
version
-public java.lang.String getUsername()
Gets the user name of the authorized access service.
public void setUsername(java.lang.String username)
Sets the user name of the authorized access service.
username
-public java.lang.String getPassword()
Gets the password corresponding to the user name of the authorized access service.
public void setPassword(java.lang.String password)
Sets the password corresponding to the user name of the authorized access service.
password
-public java.lang.String getServiceRootURL()
Gets the WMS service root URI.
getServiceRootURL
in interface OGCProviderSetting
public void setServiceRootURL(java.lang.String serviceRootURL)
Sets the WMS service root URI.
serviceRootURL
-public void setCacheEnabled(boolean cacheEnabled)
Sets whether the cache mechanism is enabled.
cacheEnable
- Whether to enable caching.public boolean getCacheEnabled()
Gets whether the cache mechanism is enabled.
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.
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.
reverseLayerOrder
-public boolean equals(java.lang.Object obj)
Determines whether two objects are equal.
equals
in class java.lang.Object
obj
- The object to be compared.public int hashCode()
hashCode
in class java.lang.Object