Package org.geotools.ows.wms
Class WMS1_1_1
-
- Direct Known Subclasses:
WMS1_3_0
public class WMS1_1_1 extends WMS1_1_0
Provides support for the Web Map Server 1.1.1 Specificaiton.WMS1_1_1 provides both name and version information that may be checked against a GetCapabilities document during version negotiation.
- Author:
- Jody Garnett, Refractions Research, rgould
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WMS1_1_1.GetCapsRequest
static class
WMS1_1_1.GetFeatureInfoRequest
static class
WMS1_1_1.GetMapRequest
static class
WMS1_1_1.InternalGetStylesRequest
static class
WMS1_1_1.InternalPutStylesRequest
-
Nested classes/interfaces inherited from class WMS1_1_0
WMS1_1_0.InternalDescribeLayerRequest, WMS1_1_0.InternalGetLegendGraphicRequest
-
-
Constructor Summary
Constructors Constructor Description WMS1_1_1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCapabilitiesRequest
createGetCapabilitiesRequest(URL server)
Factory method to create WMS 1.1.1 GetCapabilities RequestGetFeatureInfoRequest
createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest)
Creates a GetFeatureInfoRequest for this specification, populating it with valid values.GetMapRequest
createGetMapRequest(URL get)
Creates a GetMapRequest for this specification, populating it with valid values.GetStylesRequest
createGetStylesRequest(URL onlineResource)
Creates a GetStylesRequest which can be used to retrieve styles from the WMS.PutStylesRequest
createPutStylesRequest(URL onlineResource)
Note that WMS 1.0.0 does not support this methodString
getVersion()
Expected version attribute for root element.-
Methods inherited from class WMS1_1_0
createDescribeLayerRequest, createGetLegendGraphicRequest
-
Methods inherited from class WMS1_0_0
getExceptionValue, getFormatValue, toExceptionMimeType, toFormatMIME
-
-
-
-
Method Detail
-
getVersion
public String getVersion()
Expected version attribute for root element.- Overrides:
getVersion
in classWMS1_1_0
- Returns:
- the expect version value for this specification
-
createGetCapabilitiesRequest
public GetCapabilitiesRequest createGetCapabilitiesRequest(URL server)
Factory method to create WMS 1.1.1 GetCapabilities Request- Overrides:
createGetCapabilitiesRequest
in classWMS1_1_0
- Parameters:
server
- a URL that points to the 1.0.0 server- Returns:
- a AbstractGetCapabilitiesRequest object that can provide a valid request
- See Also:
org.geotools.data.wms.Specification#createGetCapabilitiesRequest(java.net.URL)
-
createGetMapRequest
public GetMapRequest createGetMapRequest(URL get)
Description copied from class:WMSSpecification
Creates a GetMapRequest for this specification, populating it with valid values.- Overrides:
createGetMapRequest
in classWMS1_1_0
- Parameters:
get
- the URL for the GetMapRequest- Returns:
- a GetMapRequest that can be configured and used
- See Also:
WMSSpecification.createGetMapRequest(java.net.URL)
-
createGetFeatureInfoRequest
public GetFeatureInfoRequest createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest)
Description copied from class:WMSSpecification
Creates a GetFeatureInfoRequest for this specification, populating it with valid values.- Overrides:
createGetFeatureInfoRequest
in classWMS1_1_0
- Parameters:
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequest- Returns:
- a GetFeatureInfoRequest that can be configured and used
- See Also:
WMS1_0_0#createGetFeatureInfoRequest(java.net.URL, org.geotools.ows.wms.request.GetMapRequest, java.util.Set, java.lang.String[])
-
createGetStylesRequest
public GetStylesRequest createGetStylesRequest(URL onlineResource) throws UnsupportedOperationException
Description copied from class:WMSSpecification
Creates a GetStylesRequest which can be used to retrieve styles from the WMS.- Overrides:
createGetStylesRequest
in classWMS1_0_0
- Parameters:
onlineResource
- The location where the request can be made- Returns:
- a configurable request object to be passed to a WMS
- Throws:
UnsupportedOperationException
- if the version of the specification doesn't support this request- See Also:
WMSSpecification.createGetStylesRequest(java.net.URL)
-
createPutStylesRequest
public PutStylesRequest createPutStylesRequest(URL onlineResource) throws UnsupportedOperationException
Description copied from class:WMS1_0_0
Note that WMS 1.0.0 does not support this method- Overrides:
createPutStylesRequest
in classWMS1_0_0
- Parameters:
onlineResource
- the location where the request can be made- Returns:
- a configureable request object to be passed to the WMS
- Throws:
UnsupportedOperationException
- if the version of the specification doesn't support this request- See Also:
WMS1_0_0.createPutStylesRequest(java.net.URL)
-
-