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 classWMS1_1_1.GetCapsRequeststatic classWMS1_1_1.GetFeatureInfoRequeststatic classWMS1_1_1.GetMapRequeststatic classWMS1_1_1.InternalGetStylesRequeststatic classWMS1_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 GetCapabilitiesRequestcreateGetCapabilitiesRequest(URL server)Factory method to create WMS 1.1.1 GetCapabilities RequestGetFeatureInfoRequestcreateGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest)Creates a GetFeatureInfoRequest for this specification, populating it with valid values.GetMapRequestcreateGetMapRequest(URL get)Creates a GetMapRequest for this specification, populating it with valid values.GetStylesRequestcreateGetStylesRequest(URL onlineResource)Creates a GetStylesRequest which can be used to retrieve styles from the WMS.PutStylesRequestcreatePutStylesRequest(URL onlineResource)Note that WMS 1.0.0 does not support this methodStringgetVersion()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:
getVersionin 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:
createGetCapabilitiesRequestin 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:WMSSpecificationCreates a GetMapRequest for this specification, populating it with valid values.- Overrides:
createGetMapRequestin 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:WMSSpecificationCreates a GetFeatureInfoRequest for this specification, populating it with valid values.- Overrides:
createGetFeatureInfoRequestin 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:WMSSpecificationCreates a GetStylesRequest which can be used to retrieve styles from the WMS.- Overrides:
createGetStylesRequestin 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_0Note that WMS 1.0.0 does not support this method- Overrides:
createPutStylesRequestin 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)
-
-