|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.wms.WMService
public class WMService
Represents a remote WMS Service.
| Field Summary | |
|---|---|
static java.lang.String |
WMS_1_0_0
|
static java.lang.String |
WMS_1_1_0
|
static java.lang.String |
WMS_1_1_1
|
| Constructor Summary | |
|---|---|
WMService(java.lang.String serverUrl)
Constructs a WMService object from a server URL. |
|
WMService(java.lang.String serverUrl,
java.lang.String wmsVersion)
Constructs a WMService object from a server URL. |
|
| Method Summary | |
|---|---|
MapRequest |
createMapRequest()
Creates a new MapRequest object which can be used to retrieve a Map from this service. |
Capabilities |
getCapabilities()
Gets the Capabilities for this service. |
java.lang.String |
getServerUrl()
Gets the url of the map service. |
java.lang.String |
getTitle()
Gets the title of the map service. |
java.lang.String |
getVersion()
|
void |
initialize()
|
void |
initialize(boolean alertDifferingURL)
Connect to the service and get the capabilities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WMS_1_0_0
public static final java.lang.String WMS_1_1_0
public static final java.lang.String WMS_1_1_1
| Constructor Detail |
|---|
public WMService(java.lang.String serverUrl,
java.lang.String wmsVersion)
serverUrl - the URL of the WMS serverwmsVersion - public WMService(java.lang.String serverUrl)
serverUrl - the URL of the WMS server| Method Detail |
|---|
public void initialize()
throws java.io.IOException
java.io.IOException
public void initialize(boolean alertDifferingURL)
throws java.io.IOException
alertDifferingURL - alert the user if a different GetMap URL is available
java.io.IOExceptionpublic java.lang.String getServerUrl()
public java.lang.String getTitle()
public Capabilities getCapabilities()
public MapRequest createMapRequest()
public java.lang.String getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||