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

org.deegree.ogcwebservices.wcts.operation
Class WCTSGetCapabilities

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.wcts.operation.WCTSRequestBase
          extended by org.deegree.ogcwebservices.wcts.operation.WCTSGetCapabilities
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class WCTSGetCapabilities
extends WCTSRequestBase

WCTSGetCapabilities bean representation of a GetCapabilities request, xml-dom or kvp encoded.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$
See Also:
Serialized Form

Constructor Summary
WCTSGetCapabilities(java.lang.String id, java.lang.String updateSequence, java.util.List<java.lang.String> acceptedVersions, java.util.List<java.lang.String> sections, java.util.List<java.lang.String> acceptedFormats)
           
 
Method Summary
static WCTSGetCapabilities create(java.lang.String requestID, java.util.Map<java.lang.String,java.lang.String> map)
          Create a WCTSGetCapabilities-request by extracting the values from the map, and calling the constructor with these values.
 java.util.List<java.lang.String> getAcceptedFormats()
           
 java.util.List<java.lang.String> getAcceptedVersions()
           
 java.util.List<java.lang.String> getSections()
           
 java.lang.String getUpdateSequence()
           
 
Methods inherited from class org.deegree.ogcwebservices.wcts.operation.WCTSRequestBase
getServiceName
 
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

WCTSGetCapabilities

public WCTSGetCapabilities(java.lang.String id,
                           java.lang.String updateSequence,
                           java.util.List<java.lang.String> acceptedVersions,
                           java.util.List<java.lang.String> sections,
                           java.util.List<java.lang.String> acceptedFormats)
Parameters:
id - of the request
updateSequence -
acceptedVersions -
sections -
acceptedFormats -
Method Detail

getUpdateSequence

public final java.lang.String getUpdateSequence()
Returns:
the updateSequence, can be empty but never null

getAcceptedVersions

public final java.util.List<java.lang.String> getAcceptedVersions()
Returns:
the acceptedVersions, can be empty but never null

getSections

public final java.util.List<java.lang.String> getSections()
Returns:
the sections, can be empty but never null, all sections are lower cased.

getAcceptedFormats

public final java.util.List<java.lang.String> getAcceptedFormats()
Returns:
the acceptedFormats, can be empty but never null

create

public static WCTSGetCapabilities create(java.lang.String requestID,
                                         java.util.Map<java.lang.String,java.lang.String> map)
                                  throws OGCWebServiceException
Create a WCTSGetCapabilities-request by extracting the values from the map, and calling the constructor with these values.

Parameters:
requestID - service internal id for this request.
map - to extract requested values from.
Returns:
the bean representation
Throws:
OGCWebServiceException - if the map is null or has size==0, or the service,request parameters have none accepted values.

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