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

org.deegree.ogcwebservices.csw.capabilities
Class CatalogueGetCapabilities

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.getcapabilities.GetCapabilities
          extended by org.deegree.ogcwebservices.csw.capabilities.CatalogueGetCapabilities
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class CatalogueGetCapabilities
extends GetCapabilities

Class representation of an OGC-GetCapabilities request in CSW flavour.

Special to the CSW version of the GetCapabilities request are these two additional parameters:

Name Occurences Function
AcceptVersions 0|1 Protocol versions supported by this service.
AcceptFormats 0|1 Formats accepted by this service.

Since:
2.0
Version:
$Revision: 18195 $
Author:
Markus Schneider
See Also:
Serialized Form

Constructor Summary
CatalogueGetCapabilities(java.lang.String id, java.lang.String updateSequence, java.lang.String version, java.lang.String[] acceptVersions, java.lang.String[] acceptFormats, java.lang.String[] sections, java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
          Creates a new CatalogueGetCapabilities instance.
 
Method Summary
static CatalogueGetCapabilities create(java.util.Map<java.lang.String,java.lang.String> kvp)
          Creates a CatalogGetCapabilities request from its KVP representation.
static CatalogueGetCapabilities create(java.lang.String id, org.w3c.dom.Element root)
          Creates a CatalogGetCapabilities request from its XML representation.
 java.lang.String getServiceName()
          returns WCS as service name
(package private) static java.lang.String validateVersion(java.lang.String[] acceptVersions)
           
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.GetCapabilities
getAcceptFormats, getAcceptVersions, getSections, getUpdateSequence
 
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
getId, getParam, getParamAsInt, getParamValues, getRequestParameter, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatalogueGetCapabilities

CatalogueGetCapabilities(java.lang.String id,
                         java.lang.String updateSequence,
                         java.lang.String version,
                         java.lang.String[] acceptVersions,
                         java.lang.String[] acceptFormats,
                         java.lang.String[] sections,
                         java.util.Map<java.lang.String,java.lang.String> vendoreSpec)
Creates a new CatalogueGetCapabilities instance.

Parameters:
id - request identifier
updateSequence -
version -
acceptVersions -
acceptFormats -
sections -
vendoreSpec -
Method Detail

create

public static CatalogueGetCapabilities create(java.util.Map<java.lang.String,java.lang.String> kvp)
                                       throws InvalidParameterValueException
Creates a CatalogGetCapabilities request from its KVP representation.

Parameters:
kvp - Map containing the key-value pairs
Returns:
created CatalogGetCapabilities object
Throws:
InvalidParameterValueException

create

public static CatalogueGetCapabilities create(java.lang.String id,
                                              org.w3c.dom.Element root)
                                       throws OGCWebServiceException
Creates a CatalogGetCapabilities request from its XML representation.

Parameters:
id - unique ID of the request
root - XML representation of the request
Returns:
created CatalogGetCapabilities object
Throws:
OGCWebServiceException - thrown if something in the request is wrong

getServiceName

public java.lang.String getServiceName()
returns WCS as service name

Returns:
the name of the service that is targeted by the request

validateVersion

static java.lang.String validateVersion(java.lang.String[] acceptVersions)
Parameters:
acceptVersions -
Returns:
the highst supported version or null if none of the passed versions is supported

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