| |
|
| java.lang.Object com.vividsolutions.wms.WMService
WMService | public class WMService (Code) | | Represents a remote WMS Service.
author: Chris Hodgson chodgson@refractions.net |
Constructor Summary | |
public | WMService(String serverUrl, String wmsVersion) Constructs a WMService object from a server URL. | public | WMService(String serverUrl) Constructs a WMService object from a server URL. |
WMService | public WMService(String serverUrl, String wmsVersion)(Code) | | Constructs a WMService object from a server URL.
Parameters: serverUrl - the URL of the WMS server |
WMService | public WMService(String serverUrl)(Code) | | Constructs a WMService object from a server URL.
Parameters: serverUrl - the URL of the WMS server |
createMapRequest | public MapRequest createMapRequest()(Code) | | Creates a new MapRequest object which can be used to retrieve a Map
from this service.
a MapRequest object which can be used to retrieve a map imagefrom this service |
getCapabilities | public Capabilities getCapabilities()(Code) | | Gets the Capabilities for this service.
The service must have previously been initialized, otherwise null is returned.
a copy of the MapDescriptor for this service |
getServerUrl | public String getServerUrl()(Code) | | Gets the url of the map service.
the url of the WMService |
getTitle | public String getTitle()(Code) | | Gets the title of the map service.
The service must have previously been initialized, otherwise null is returned.
the title of the WMService |
initialize | public void initialize() throws IOException(Code) | | Connect to the service and get the capabilities.
This must be called before anything else is done with this service.
|
|
|
|