Package org.geotools.ows.wms
Class WMS1_1_1
- Direct Known Subclasses:
WMS1_3_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 ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class WMS1_1_0
WMS1_1_0.InternalDescribeLayerRequest, WMS1_1_0.InternalGetLegendGraphicRequest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGetCapabilitiesRequest(URL server) Factory method to create WMS 1.1.1 GetCapabilities RequestcreateGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest) Creates a GetFeatureInfoRequest for this specification, populating it with valid values.createGetMapRequest(URL get) Creates a GetMapRequest for this specification, populating it with valid values.createGetStylesRequest(URL onlineResource) Creates a GetStylesRequest which can be used to retrieve styles from the WMS.createPutStylesRequest(URL onlineResource) Note that WMS 1.0.0 does not support this methodExpected version attribute for root element.Methods inherited from class WMS1_1_0
createDescribeLayerRequest, createGetLegendGraphicRequestMethods inherited from class WMS1_0_0
getExceptionValue, getFormatValue, toExceptionMimeType, toFormatMIME
-
Constructor Details
-
WMS1_1_1
public WMS1_1_1()
-
-
Method Details
-
getVersion
Expected version attribute for root element.- Overrides:
getVersionin classWMS1_1_0- Returns:
- the expect version value for this specification
-
createGetCapabilitiesRequest
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
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:
-
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:
-
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:
-