deegree 2.5 (2011/06/29 09:44 build-8-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 java.lang.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(java.lang.String version, java.lang.String updateSequence, CapabilitiesService service)
          constructor initializing the class with the OGCWebServiceCapabilities
 
Method Summary
 org.w3c.dom.Document export()
          Must be overridden by subclass.
 CapabilitiesService getService()
          this returns a general describtion of the service described by the Capabilities XML document.
 java.lang.String getUpdateSequence()
          The UPDATESEQUENCE parameter is for maintaining cache consistency.
 java.lang.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(java.lang.String updateSequence)
          sets the update sequence
 void setVersion(java.lang.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(java.lang.String version,
                                 java.lang.String updateSequence,
                                 CapabilitiesService service)
constructor initializing the class with the OGCWebServiceCapabilities

Parameters:
version -
updateSequence -
service -
Method Detail

getVersion

public java.lang.String getVersion()
returns the version of the service

Returns:
the version of the service

setVersion

public void setVersion(java.lang.String version)
sets the version of the service

Parameters:
version -

getUpdateSequence

public java.lang.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(java.lang.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 org.w3c.dom.Document export()
Must be overridden by subclass. Replaces abstract method exportAsXML.

Returns:
null!

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