public class WMS1_0_0 extends WMSSpecification
WMS1_0_0 provides both name and version information that may be checked against a GetCapabilities document during version negotiation.
Modifier and Type | Class and Description |
---|---|
static class |
WMS1_0_0.GetCapsRequest
We need a custom request object.
|
static class |
WMS1_0_0.GetFeatureInfoRequest
A GetFeatureInfoRequest for a 1.0.0 server
|
static class |
WMS1_0_0.GetMapRequest
A GetMapRequest for a 1.0.0 Server
|
static class |
WMS1_0_0.InternalGetStylesRequest |
Constructor and Description |
---|
WMS1_0_0()
Public constructor creates the WMS1_0_0 object.
|
Modifier and Type | Method and Description |
---|---|
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)
Creates a GetStylesRequest which can be used to retrieve styles from the WMS.
|
PutStylesRequest |
createPutStylesRequest(URL onlineResource)
Note that WMS 1.0.0 does not support this method
|
static String |
getExceptionValue(String mimeType)
The WMS 1.0.0 specification uses internal mappings in the parameter value instead of direct
mime types.
|
static String |
getFormatValue(String mimeType)
Provides mapping from MIME type to WMS 1.0.0 Format.
|
String |
getVersion()
Expected version attribute for root element.
|
static String |
toExceptionMimeType(String exception)
The WMS 1.0.0 specification uses a mapping of mimetypes to values to use as parameter values
in requests.
|
static String |
toFormatMIME(String format)
Provides mapping from well known format to MIME type.
|
public String getVersion()
getVersion
in class Specification
public static final String toFormatMIME(String format)
WebMapServer api uses mime type internally for format information (indeed WMS 1.0.0 is the only WMS specifcation not to use MIME type directly).
format
- public static final String toExceptionMimeType(String exception)
exception
- an exceptions parameter value, such as "WMS_XML"public static final String getFormatValue(String mimeType)
WebMapServer api uses mime type internally for format information (indeed WMS 1.0.0 is the only WMS specifcation not to use MIME type directly).
mimeType
- MIME type such as "image/gif"public static final String getExceptionValue(String mimeType)
mimeType
- the mimeType to use, such as "application/vnd.ogc.se_xml"public GetCapabilitiesRequest createGetCapabilitiesRequest(URL server)
createGetCapabilitiesRequest
in class Specification
server
- a URL that points to the 1.0.0 serverSpecification.createGetCapabilitiesRequest(java.net.URL)
public GetMapRequest createGetMapRequest(URL get)
WMSSpecification
createGetMapRequest
in class WMSSpecification
get
- the URL for the GetMapRequestWMSSpecification.createGetMapRequest(java.net.URL)
public GetFeatureInfoRequest createGetFeatureInfoRequest(URL onlineResource, GetMapRequest getMapRequest)
WMSSpecification
createGetFeatureInfoRequest
in class WMSSpecification
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequestWMSSpecification.createGetFeatureInfoRequest(java.net.URL,
org.geotools.ows.wms.request.GetMapRequest)
public DescribeLayerRequest createDescribeLayerRequest(URL onlineResource) throws UnsupportedOperationException
createDescribeLayerRequest
in class WMSSpecification
onlineResource
- the location where the request can be madeUnsupportedOperationException
- if the version of the specification doesn't support
this requestWMSSpecification.createDescribeLayerRequest(java.net.URL)
public GetLegendGraphicRequest createGetLegendGraphicRequest(URL onlineResource) throws UnsupportedOperationException
createGetLegendGraphicRequest
in class WMSSpecification
onlineResource
- the location where the request can be madeUnsupportedOperationException
- if the version of the specification doesn't support
this requestWMSSpecification.createGetLegendGraphicRequest(java.net.URL)
public GetStylesRequest createGetStylesRequest(URL onlineResource) throws UnsupportedOperationException
WMSSpecification
createGetStylesRequest
in class WMSSpecification
onlineResource
- The location where the request can be madeUnsupportedOperationException
- if the version of the specification doesn't support
this requestWMSSpecification.createGetStylesRequest(java.net.URL)
public PutStylesRequest createPutStylesRequest(URL onlineResource) throws UnsupportedOperationException
createPutStylesRequest
in class WMSSpecification
onlineResource
- the location where the request can be madeUnsupportedOperationException
- if the version of the specification doesn't support
this requestWMSSpecification.createPutStylesRequest(java.net.URL)
Copyright © 1996–2019 Geotools. All rights reserved.