Package org.geotools.ows.wms
Class WMSSpecification
Object
Specification
WMSSpecification
- Direct Known Subclasses:
WMS1_0_0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DescribeLayerRequest
createDescribeLayerRequest
(URL onlineResource) Creates a DescribeLayer request which can be used to retrieve information about specific layers on the Web Map Server.abstract GetFeatureInfoRequest
createGetFeatureInfoRequest
(URL onlineResource, GetMapRequest getMapRequest) Creates a GetFeatureInfoRequest for this specification, populating it with valid values.abstract GetLegendGraphicRequest
createGetLegendGraphicRequest
(URL onlineResource) Creates a GetLegendGraphicRequest which can be used to retrieve legend graphics from the WebMapServerabstract GetMapRequest
createGetMapRequest
(URL onlineResource) Creates a GetMapRequest for this specification, populating it with valid values.abstract GetStylesRequest
createGetStylesRequest
(URL onlineResource) Creates a GetStylesRequest which can be used to retrieve styles from the WMS.abstract PutStylesRequest
createPutStylesRequest
(URL onlineResource) Creates a PutStyles request which can be configured and the passed to the WMS to store styles for later use.Methods inherited from class Specification
createGetCapabilitiesRequest, getVersion
-
Constructor Details
-
WMSSpecification
public WMSSpecification()
-
-
Method Details
-
createGetMapRequest
Creates a GetMapRequest for this specification, populating it with valid values.- Parameters:
onlineResource
- the URL for the GetMapRequest- Returns:
- a GetMapRequest that can be configured and used
-
createGetFeatureInfoRequest
public abstract GetFeatureInfoRequest createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest) Creates a GetFeatureInfoRequest for this specification, populating it with valid values.- Parameters:
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequest- Returns:
- a GetFeatureInfoRequest that can be configured and used
-
createDescribeLayerRequest
public abstract DescribeLayerRequest createDescribeLayerRequest(URL onlineResource) throws UnsupportedOperationException Creates a DescribeLayer request which can be used to retrieve information about specific layers on the Web Map Server.- Parameters:
onlineResource
- the location where the request can be made- Returns:
- a DescribeLayerRequest to be configured and then passed to the Web Map Server
- Throws:
UnsupportedOperationException
- if the version of the specification doesn't support this request
-
createGetLegendGraphicRequest
public abstract GetLegendGraphicRequest createGetLegendGraphicRequest(URL onlineResource) throws UnsupportedOperationException Creates a GetLegendGraphicRequest which can be used to retrieve legend graphics from the WebMapServer- Parameters:
onlineResource
- the location where the request can be made- Returns:
- a GetLegendGraphicRequest to be configured and passed to the WMS
- Throws:
UnsupportedOperationException
- if the version of the specification doesn't support this request
-
createGetStylesRequest
public abstract GetStylesRequest createGetStylesRequest(URL onlineResource) throws UnsupportedOperationException Creates a GetStylesRequest which can be used to retrieve styles from the WMS.- 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
-
createPutStylesRequest
public abstract PutStylesRequest createPutStylesRequest(URL onlineResource) throws UnsupportedOperationException Creates a PutStyles request which can be configured and the passed to the WMS to store styles for later use.- 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
-