org.geotools.data.wms
Class WMS1_1_0

Object
  extended by Specification
      extended by WMSSpecification
          extended by WMS1_0_0
              extended by WMS1_1_0
Direct Known Subclasses:
WMS1_1_1

public class WMS1_1_0
extends WMS1_0_0

Author:
Richard Gould
Module:

Nested Class Summary
static class WMS1_1_0.GetCapsRequest
           
static class WMS1_1_0.GetFeatureInfoRequest
           
static class WMS1_1_0.GetMapRequest
           
static class WMS1_1_0.InternalDescribeLayerRequest
           
static class WMS1_1_0.InternalGetLegendGraphicRequest
           
static class WMS1_1_0.InternalGetStylesRequest
           
static class WMS1_1_0.InternalPutStylesRequest
           
 
Constructor Summary
WMS1_1_0()
           
 
Method Summary
 DescribeLayerRequest createDescribeLayerRequest(URL onlineResource)
          Note that WMS 1.0.0 does not support this method.
 GetCapabilitiesRequest createGetCapabilitiesRequest(URL server)
          Create a request for performing GetCapabilities requests on a 1.0.0 server.
 GetFeatureInfoRequest createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest)
          Creates a GetFeatureInfoRequest for this specification, populating it with valid values.
 GetLegendGraphicRequest createGetLegendGraphicRequest(URL onlineResource)
          Note that WMS 1.0.0 does not support this method.
 GetMapRequest createGetMapRequest(URL get)
          Creates a GetMapRequest for this specification, populating it with valid values.
 GetStylesRequest createGetStylesRequest(URL onlineResource, Layer[] layers)
           
 PutStylesRequest createPutStylesRequest(URL onlineResource)
          Note that WMS 1.0.0 does not support this method
 String getVersion()
          Expected version attribute for root element.
 
Methods inherited from class WMS1_0_0
createGetStylesRequest, getExceptionValue, getFormatValue, toExceptionMimeType, toFormatMIME
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMS1_1_0

public WMS1_1_0()
Method Detail

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 class WMS1_0_0
Parameters:
get - the URL for the GetMapRequest
Returns:
a GetMapRequest that can be configured and used
See Also:
org.geotools.data.wms.Specification#createGetMapRequest(java.net.URL)

getVersion

public String getVersion()
Description copied from class: WMS1_0_0
Expected version attribute for root element.

Overrides:
getVersion in class WMS1_0_0
Returns:
the expect version value for this specification

createGetCapabilitiesRequest

public GetCapabilitiesRequest createGetCapabilitiesRequest(URL server)
Description copied from class: WMS1_0_0
Create a request for performing GetCapabilities requests on a 1.0.0 server.

Overrides:
createGetCapabilitiesRequest in class WMS1_0_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)

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 class WMS1_0_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:
org.geotools.data.wms.WMS1_0_0#createGetFeatureInfoRequest(java.net.URL, org.geotools.data.wms.request.GetMapRequest, java.util.Set, java.lang.String[])

createDescribeLayerRequest

public DescribeLayerRequest createDescribeLayerRequest(URL onlineResource)
                                                throws UnsupportedOperationException
Description copied from class: WMS1_0_0
Note that WMS 1.0.0 does not support this method.

Overrides:
createDescribeLayerRequest in class WMS1_0_0
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
See Also:
WMS1_0_0.createDescribeLayerRequest(java.net.URL)

createGetLegendGraphicRequest

public GetLegendGraphicRequest createGetLegendGraphicRequest(URL onlineResource)
Description copied from class: WMS1_0_0
Note that WMS 1.0.0 does not support this method.

Overrides:
createGetLegendGraphicRequest in class WMS1_0_0
Parameters:
onlineResource - the location where the request can be made
Returns:
a GetLegendGraphicRequest to be configured and passed to the WMS
See Also:
org.geotools.data.wms.Specification#createGetLegendGraphicRequest(java.net.URL)

createGetStylesRequest

public GetStylesRequest createGetStylesRequest(URL onlineResource,
                                               Layer[] layers)
                                        throws UnsupportedOperationException
Throws:
UnsupportedOperationException

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 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)


Copyright © 1996-2009 Geotools. All Rights Reserved.