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 SummaryNested 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_0WMS1_1_0.InternalDescribeLayerRequest, WMS1_1_0.InternalGetLegendGraphicRequest
 
- 
 - 
Constructor SummaryConstructors Constructor Description WMS1_1_1()
 - 
Method SummaryAll 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_0createDescribeLayerRequest, createGetLegendGraphicRequest
 - 
Methods inherited from class WMS1_0_0getExceptionValue, getFormatValue, toExceptionMimeType, toFormatMIME
 
- 
 
- 
- 
- 
Method Detail- 
getVersionpublic String getVersion() Expected version attribute for root element.- Overrides:
- getVersionin class- WMS1_1_0
- Returns:
- the expect version value for this specification
 
 - 
createGetCapabilitiesRequestpublic GetCapabilitiesRequest createGetCapabilitiesRequest(URL server) Factory method to create WMS 1.1.1 GetCapabilities Request- Overrides:
- createGetCapabilitiesRequestin class- WMS1_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)
 
 - 
createGetMapRequestpublic GetMapRequest createGetMapRequest(URL get) Description copied from class:WMSSpecificationCreates a GetMapRequest for this specification, populating it with valid values.- Overrides:
- createGetMapRequestin class- WMS1_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)
 
 - 
createGetFeatureInfoRequestpublic GetFeatureInfoRequest createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest) Description copied from class:WMSSpecificationCreates a GetFeatureInfoRequest for this specification, populating it with valid values.- Overrides:
- createGetFeatureInfoRequestin class- WMS1_1_0
- Parameters:
- onlineResource- the URL to be executed against
- getMapRequest- 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[])
 
 - 
createGetStylesRequestpublic 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 class- WMS1_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)
 
 - 
createPutStylesRequestpublic 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 class- WMS1_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)
 
 
- 
 
-