|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.wms.Specification
Provides support for the Web Map Server Specificaitons.
This class operates as a Factory creating the following related objects.
The idea is that this class operates a Toolkit for all things assocated with a Web Map Server Specification. The various objects produced by this toolkit are used as strategy objects for the top level WebMapServer object:
Both name and version information that may be checked against a GetCapabilities document during version negotiation.
Q: Why are these not static?
A: Because we want to place new specifications into a data structure
for WebMapServer to search through dynamically
Constructor Summary | |
Specification()
|
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 AbstractGetCapabilitiesRequest |
createGetCapabilitiesRequest(java.net.URL server)
Factory method to create WMSGetCapabilities Request |
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. |
abstract java.lang.String |
getVersion()
Expected version attribute for root element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Specification()
Method Detail |
public abstract java.lang.String getVersion()
public abstract AbstractGetCapabilitiesRequest createGetCapabilitiesRequest(java.net.URL server)
server
- the URL that points to the server's getCapabilities document
public abstract GetMapRequest createGetMapRequest(java.net.URL onlineResource)
onlineResource
- the URL for the GetMapRequest
public abstract GetFeatureInfoRequest createGetFeatureInfoRequest(java.net.URL onlineResource, GetMapRequest getMapRequest)
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequest
public abstract DescribeLayerRequest createDescribeLayerRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestpublic abstract GetLegendGraphicRequest createGetLegendGraphicRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestpublic abstract GetStylesRequest createGetStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
onlineResource
- The location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestpublic abstract PutStylesRequest createPutStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |