public enum WmsVersion extends java.lang.Enum<WmsVersion>
| Enum Constant and Description |
|---|
V1_0_0
Version for WMS 1.0.0.
|
V1_1_0
Version for WMS 1.1.0.
|
V1_1_1
Version for WMS 1.1.1.
|
V1_3_0
Version for WMS 1.3.0.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.geotools.data.wms.request.GetMapRequest |
getGetMapRequest(java.net.URL baseURL)
Return a getMap request that is configured for the correct version.
|
static WmsVersion |
lookup(java.lang.String versionString)
Find the correct version enum object based on the version string.
|
static WmsVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WmsVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.lang.String |
versionString()
Get the WMS version string usable in making WMS requests.
|
public static final WmsVersion V1_0_0
public static final WmsVersion V1_1_0
public static final WmsVersion V1_1_1
public static final WmsVersion V1_3_0
public static WmsVersion[] values()
for (WmsVersion c : WmsVersion.values()) System.out.println(c);
public static WmsVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String versionString()
public abstract org.geotools.data.wms.request.GetMapRequest getGetMapRequest(java.net.URL baseURL)
baseURL - the url to use as the basis for making the request. It has to have the host and full path but
query parameters are optional.public static WmsVersion lookup(java.lang.String versionString)
versionString - the version string.