org.geotools.data.wms
Class WMSSpecification

java.lang.Object
  extended by org.geotools.data.ows.Specification
      extended by org.geotools.data.wms.WMSSpecification
Direct Known Subclasses:
WMS1_0_0

public abstract class WMSSpecification
extends Specification


Constructor Summary
WMSSpecification()
           
 
Method Summary
abstract  DescribeLayerRequest createDescribeLayerRequest(java.net.URL onlineResource)
          Creates a DescribeLayer request which can be used to retrieve information about specific layers on the Web Map Server.
abstract  GetFeatureInfoRequest createGetFeatureInfoRequest(java.net.URL onlineResource, GetMapRequest getMapRequest)
          Creates a GetFeatureInfoRequest for this specification, populating it with valid values.
abstract  GetLegendGraphicRequest createGetLegendGraphicRequest(java.net.URL onlineResource)
          Creates a GetLegendGraphicRequest which can be used to retrieve legend graphics from the WebMapServer
abstract  GetMapRequest createGetMapRequest(java.net.URL onlineResource)
          Creates a GetMapRequest for this specification, populating it with valid values.
abstract  GetStylesRequest createGetStylesRequest(java.net.URL onlineResource)
          Creates a GetStylesRequest which can be used to retrieve styles from the WMS.
abstract  PutStylesRequest createPutStylesRequest(java.net.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 org.geotools.data.ows.Specification
createGetCapabilitiesRequest, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSSpecification

public WMSSpecification()
Method Detail

createGetMapRequest

public abstract GetMapRequest createGetMapRequest(java.net.URL onlineResource)
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(java.net.URL onlineResource,
                                                                  GetMapRequest getMapRequest)
Creates a GetFeatureInfoRequest for this specification, populating it with valid values.

Parameters:
onlineResource - the URL to be executed against
getMapRequest - a previously configured GetMapRequest
Returns:
a GetFeatureInfoRequest that can be configured and used

createDescribeLayerRequest

public abstract DescribeLayerRequest createDescribeLayerRequest(java.net.URL onlineResource)
                                                         throws java.lang.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:
java.lang.UnsupportedOperationException - if the version of the specification doesn't support this request

createGetLegendGraphicRequest

public abstract GetLegendGraphicRequest createGetLegendGraphicRequest(java.net.URL onlineResource)
                                                               throws java.lang.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:
java.lang.UnsupportedOperationException - if the version of the specification doesn't support this request

createGetStylesRequest

public abstract GetStylesRequest createGetStylesRequest(java.net.URL onlineResource)
                                                 throws java.lang.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:
java.lang.UnsupportedOperationException - if the version of the specification doesn't support this request

createPutStylesRequest

public abstract PutStylesRequest createPutStylesRequest(java.net.URL onlineResource)
                                                 throws java.lang.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:
java.lang.UnsupportedOperationException - if the version of the specification doesn't support this request


Copyright © 1996-2010 Geotools. All Rights Reserved.