deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wcs.describecoverage
Class DescribeCoverage

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.wcs.WCSRequestBase
          extended by org.deegree.ogcwebservices.wcs.describecoverage.DescribeCoverage
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class DescribeCoverage
extends WCSRequestBase

A DescribeCoverage request lists the coverages to be described, identified by the Coverage parameter. A request that lists no coverages shall be interpreted as requesting descriptions of all coverages that a WCS can serve.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $
See Also:
Serialized Form

Constructor Summary
DescribeCoverage(java.lang.String id, java.lang.String version, java.lang.String[] coverages)
           
 
Method Summary
static DescribeCoverage create(java.util.Map map)
          creates a DescribeCoverage request from its KVP representation
static DescribeCoverage create(java.lang.String id, org.w3c.dom.Document doc)
          creates a DescribeCoverage request from its XML representation
static DescribeCoverage createDescribeCoverage(java.lang.String id, java.lang.String kvp)
          creates a DescribeCoverage request from its KVP representation
 java.lang.String[] getCoverages()
           
 java.lang.String getRequestParameter()
          returns the URI of a HTTP GET request.
 
Methods inherited from class org.deegree.ogcwebservices.wcs.WCSRequestBase
getServiceName
 
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
getId, getParam, getParamAsInt, getParamValues, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCoverage

public DescribeCoverage(java.lang.String id,
                        java.lang.String version,
                        java.lang.String[] coverages)
Parameters:
id - unique ID of the request
version - Request protocol version
coverages - list of coverages to describe (identified by their name values in the Capabilities response). If null or length == 0 all coverages of the service instances will be described
Method Detail

create

public static DescribeCoverage create(java.util.Map map)
                               throws OGCWebServiceException,
                                      MissingParameterValueException,
                                      InvalidParameterValueException
creates a DescribeCoverage request from its KVP representation

Parameters:
map - request
Returns:
created DescribeCoverage
Throws:
OGCWebServiceException - will be thrown if something general is wrong
MissingParameterValueException
InvalidParameterValueException
WCSException - will be thrown if a WCS/DescribeCoverage specific part of the request is erroreous

createDescribeCoverage

public static DescribeCoverage createDescribeCoverage(java.lang.String id,
                                                      java.lang.String kvp)
                                               throws OGCWebServiceException,
                                                      MissingParameterValueException,
                                                      InvalidParameterValueException
creates a DescribeCoverage request from its KVP representation

Parameters:
id - unique ID of the request
kvp - request
Returns:
created DescribeCoverage
Throws:
OGCWebServiceException - will be thrown if something general is wrong
MissingParameterValueException
InvalidParameterValueException
WCSException - will be thrown if a WCS/DescribeCoverage specific part of the request is erroreous

create

public static DescribeCoverage create(java.lang.String id,
                                      org.w3c.dom.Document doc)
                               throws OGCWebServiceException,
                                      MissingParameterValueException,
                                      InvalidParameterValueException
creates a DescribeCoverage request from its XML representation

Parameters:
id - unique ID of the request
doc - XML representation of the request
Returns:
created DescribeCoverage
Throws:
OGCWebServiceException - will be thrown if something general is wrong
MissingParameterValueException
InvalidParameterValueException
WCSException - will be thrown if a WCS/DescribeCoverage specific part of the request is erroreous

getCoverages

public java.lang.String[] getCoverages()
Returns:
Returns the coverages.

getRequestParameter

public java.lang.String getRequestParameter()
                                     throws OGCWebServiceException
Description copied from class: AbstractOGCWebServiceRequest
returns the URI of a HTTP GET request. If the request doesn't support HTTP GET a WebServiceException will be thrown

Specified by:
getRequestParameter in interface OGCWebServiceRequest
Overrides:
getRequestParameter in class AbstractOGCWebServiceRequest
Returns:
the URI of a HTTP GET request. If the request doesn't support HTTP GET a WebServiceException will be thrown
Throws:
OGCWebServiceException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org