deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.getcapabilities
Class OGCWebServiceCapabilities

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.OGCWebServiceCapabilities
All Implemented Interfaces:
Marshallable

public abstract class OGCWebServiceCapabilities
extends Object
implements Marshallable

The purpose of the GetCapabilities operation is described in the Basic CapabilitiesService Elements section, above. In the particular case of a Web Map CapabilitiesService, the response of a GetCapabilities request is general information about the service itself and specific information about the available maps.

Since:
1.0
Version:
2002-03-01, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Katharina Lupp , Torsten Friebe

Field Summary
protected static ILogger LOG
           
 
Constructor Summary
OGCWebServiceCapabilities(String version, String updateSequence, CapabilitiesService service)
          constructor initializing the class with the OGCWebServiceCapabilities
 
Method Summary
 Document export()
          Must be overridden by subclass.
 CapabilitiesService getService()
          this returns a general describtion of the service described by the Capabilities XML document.
 String getUpdateSequence()
          The UPDATESEQUENCE parameter is for maintaining cache consistency.
 String getVersion()
          returns the version of the service
 void setService(CapabilitiesService service)
          this sets a general describtion of the service described by the Capabilities XML document.
 void setUpdateSequence(String updateSequence)
          sets the update sequence
 void setVersion(String version)
          sets the version of the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.framework.xml.Marshallable
exportAsXML
 

Field Detail

LOG

protected static final ILogger LOG
Constructor Detail

OGCWebServiceCapabilities

public OGCWebServiceCapabilities(String version,
                                 String updateSequence,
                                 CapabilitiesService service)
constructor initializing the class with the OGCWebServiceCapabilities

Parameters:
version -
updateSequence -
service -
Method Detail

getVersion

public String getVersion()
returns the version of the service

Returns:
the version of the service

setVersion

public void setVersion(String version)
sets the version of the service

Parameters:
version -

getUpdateSequence

public String getUpdateSequence()
The UPDATESEQUENCE parameter is for maintaining cache consistency. Its value can be an integer, a timestamp in [ISO 8601:1988(E)] format , or any other number or string. The server may include an UpdateSequence value in its Capabilities XML. If present, this value should be increased when changes are made to the Capabilities (e.g., when new maps are added to the service). The server is the sole judge of lexical ordering sequence. The client may include this parameter in its GetCapabilities request.

Returns:
the update sequence value

setUpdateSequence

public void setUpdateSequence(String updateSequence)
sets the update sequence

Parameters:
updateSequence -

getService

public CapabilitiesService getService()
this returns a general describtion of the service described by the Capabilities XML document.

Returns:
a general describtion of the service described by the Capabilities XML document.

setService

public void setService(CapabilitiesService service)
this sets a general describtion of the service described by the Capabilities XML document.

Parameters:
service -

export

public Document export()
Must be overridden by subclass. Replaces abstract method exportAsXML.

Returns:
null!

deegree 2.3 (2010/04/09 10:10 build-4-official)

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