|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSpecification
WMSSpecification
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.
modules/extension/wms (gt-wms.jar)
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(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)
Note that WMS 1.0.0 does not support this method |
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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMS1_0_0()
Method Detail |
---|
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 server
org.geotools.data.wms.Specification#createGetCapabilitiesRequest(java.net.URL)
public GetMapRequest createGetMapRequest(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(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(URL onlineResource) throws UnsupportedOperationException
createDescribeLayerRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createDescribeLayerRequest(java.net.URL)
public GetLegendGraphicRequest createGetLegendGraphicRequest(URL onlineResource) throws UnsupportedOperationException
createGetLegendGraphicRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createGetLegendGraphicRequest(java.net.URL)
public GetStylesRequest createGetStylesRequest(URL onlineResource) throws UnsupportedOperationException
createGetStylesRequest
in class WMSSpecification
onlineResource
- The location where the request can be made
UnsupportedOperationException
- if the version of the specification doesn't support this requestorg.geotools.data.wms.Specification#createGetStylesRequest(java.net.URL)
public PutStylesRequest createPutStylesRequest(URL onlineResource) throws UnsupportedOperationException
createPutStylesRequest
in class WMSSpecification
onlineResource
- the location where the request can be made
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 |