|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.wms.Specification org.geotools.data.wms.WMS1_0_0
Provides support for the Web Map Server 1.0 Specificaiton.
This class opperates as a Factory creating the following related objects.
The idea is that this class opperates a Toolkit for all things assocated with Web Map Server 1.0.0 Specification. The various objects produced by this toolkit are used as stratagy objects for the top level Web Map Server objects:
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. |
AbstractGetCapabilitiesRequest |
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 AbstractGetCapabilitiesRequest createGetCapabilitiesRequest(java.net.URL server)
createGetCapabilitiesRequest
in class Specification
server
- a URL that points to the 1.0.0 server
Specification.createGetCapabilitiesRequest(java.net.URL)
public GetMapRequest createGetMapRequest(java.net.URL get)
Specification
createGetMapRequest
in class Specification
get
- the URL for the GetMapRequest
Specification.createGetMapRequest(java.net.URL)
public GetFeatureInfoRequest createGetFeatureInfoRequest(java.net.URL onlineResource, GetMapRequest getMapRequest)
Specification
createGetFeatureInfoRequest
in class Specification
onlineResource
- the URL to be executed againstgetMapRequest
- a previously configured GetMapRequest
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 Specification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestSpecification.createDescribeLayerRequest(java.net.URL)
public GetLegendGraphicRequest createGetLegendGraphicRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createGetLegendGraphicRequest
in class Specification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestSpecification.createGetLegendGraphicRequest(java.net.URL)
public GetStylesRequest createGetStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createGetStylesRequest
in class Specification
onlineResource
- The location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestSpecification.createGetStylesRequest(java.net.URL)
public PutStylesRequest createPutStylesRequest(java.net.URL onlineResource) throws java.lang.UnsupportedOperationException
createPutStylesRequest
in class Specification
onlineResource
- the location where the request can be made
java.lang.UnsupportedOperationException
- if the version of the specification doesn't support this requestSpecification.createPutStylesRequest(java.net.URL)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |