|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.ows.Specification
org.geotools.data.wms.WMSSpecification
org.geotools.data.wms.WMS1_0_0
public class WMS1_0_0
Provides support for the Web Map Server 1.0 Specification.
WMS1_0_0 provides both name and version information that may be checked against a GetCapabilities document during version negotiation.
Nested Class Summary | |
---|---|
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 |
Constructor Summary | |
---|---|
WMS1_0_0()
Public constructor creates the WMS1_0_0 object. |
Method Summary | |
---|---|
DescribeLayerRequest |
createDescribeLayerRequest(java.net.URL onlineResource)
Note that WMS 1.0.0 does not support this method. |
GetCapabilitiesRequest |
createGetCapabilitiesRequest(java.net.URL server)
Create a request for performing GetCapabilities requests on a 1.0.0 server. |
GetFeatureInfoRequest |
createGetFeatureInfoRequest(java.net.URL onlineResource,
GetMapRequest getMapRequest)
Creates a GetFeatureInfoRequest for this specification, populating it with valid values. |
GetLegendGraphicRequest |
createGetLegendGraphicRequest(java.net.URL onlineResource)
Note that WMS 1.0.0 does not support this method. |
GetMapRequest |
createGetMapRequest(java.net.URL get)
Creates a GetMapRequest for this specification, populating it with valid values. |
GetStylesRequest |
createGetStylesRequest(java.net.URL onlineResource)
Note that WMS 1.0.0 does not support this method |
PutStylesRequest |
createPutStylesRequest(java.net.URL onlineResource)
Note that WMS 1.0.0 does not support this method |
static java.lang.String |
getExceptionValue(java.lang.String mimeType)
The WMS 1.0.0 specification uses internal mappings in the parameter value instead of direct mime types. |
static java.lang.String |
getFormatValue(java.lang.String mimeType)
Provides mapping from MIME type to WMS 1.0.0 Format. |
java.lang.String |
getVersion()
Expected version attribute for root element. |
static java.lang.String |
toExceptionMimeType(java.lang.String exception)
The WMS 1.0.0 specification uses a mapping of mimetypes to values to use as parameter values in requests. |
static java.lang.String |
toFormatMIME(java.lang.String format)
Provides mapping from well known format to MIME type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMS1_0_0()
Method Detail |
---|
public java.lang.String getVersion()
getVersion
in class Specification
public static final java.lang.String toFormatMIME(java.lang.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 java.lang.String toExceptionMimeType(java.lang.String exception)
exception
- an exceptions parameter value, such as "WMS_XML"
public static final java.lang.String getFormatValue(java.lang.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 java.lang.String getExceptionValue(java.lang.String mimeType)
mimeType
- the mimeType to use, such as "application/vnd.ogc.se_xml"
public GetCapabilitiesRequest createGetCapabilitiesRequest(java.net.URL server)
createGetCapabilitiesRequest
in class Specification
server
- a URL that points to the 1.0.0 server
org.geotools.data.wms.Specification#createGetCapabilitiesRequest(java.net.URL)
public GetMapRequest createGetMapRequest(java.net.URL get)
WMSSpecification
createGetMapRequest
in class WMSSpecification
get
- the URL for the GetMapRequest
org.geotools.data.wms.Specification#createGetMapRequest(java.net.URL)
public GetFeatureInfoRequest createGetFeatureInfoRequest(java.net.URL onlineResource, GetMapRequest getMapRequest)
WMSSpecification
createGetFeatureInfoRequest
in class WMSSpecification
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequest
org.geotools.data.wms.Specification#createGetFeatureInfoRequest(java.net.URL,
org.geotools.data.wms.request.GetMapRequest)
public DescribeLayerRequest createDescribeLayerRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createDescribeLayerRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createDescribeLayerRequest(java.net.URL)
public GetLegendGraphicRequest createGetLegendGraphicRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createGetLegendGraphicRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createGetLegendGraphicRequest(java.net.URL)
public GetStylesRequest createGetStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createGetStylesRequest
in class WMSSpecification
onlineResource
- The location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createGetStylesRequest(java.net.URL)
public PutStylesRequest createPutStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createPutStylesRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createPutStylesRequest(java.net.URL)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |