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

org.deegree.portal.context
Class Server

java.lang.Object
  extended by org.deegree.portal.context.Server

public class Server
extends java.lang.Object

encapsulates the server description as defined in the OGC Web Map Context specification 1.0.0

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

Constructor Summary
Server(java.lang.String title, java.lang.String version, java.lang.String service, java.net.URL onlineResource, OGCCapabilities capabilities)
          Creates a new Server object.
 
Method Summary
 boolean equals(java.lang.Object other)
           
 OGCCapabilities getCapabilities()
          returns the capabilities of the encapsulated server
 java.net.URL getOnlineResource()
          link to the online resource
 java.lang.String getService()
          the type of the service according to OGC interfaces, such as WMS, WFS.
 java.lang.String getTitle()
          the title of the service (extracted from the Capabilities by the Context document creator)
 java.lang.String getVersion()
          Version number of the OGC interface specification which corresponds to the service
 void setCapabilities(OGCCapabilities capabilities)
           
 void setOnlineResource(java.net.URL onlineResource)
          see also org.deegree.clients.context.Server#getOnlineResource()
 void setService(java.lang.String service)
          see also org.deegree.clients.context.Server#getService()
 void setTitle(java.lang.String title)
          see also org.deegree.clients.context.Server#getTitle()
 void setVersion(java.lang.String version)
          see also org.deegree.clients.context.Server#getFeatureVersion()
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server(java.lang.String title,
              java.lang.String version,
              java.lang.String service,
              java.net.URL onlineResource,
              OGCCapabilities capabilities)
       throws ContextException
Creates a new Server object.

Parameters:
title - the title of the service
version - Version number of the OGC interface specification which corresponds to the service
service - the type of the service according to OGC interfaces, such as WMS, WFS.
onlineResource - the link to the online resource
capabilities -
Throws:
ContextException
Method Detail

getTitle

public java.lang.String getTitle()
the title of the service (extracted from the Capabilities by the Context document creator)

Returns:
the title of the service (extracted from the Capabilities by the Context document creator)

getVersion

public java.lang.String getVersion()
Version number of the OGC interface specification which corresponds to the service

Returns:
Version number of the OGC interface specification which corresponds to the service

getService

public java.lang.String getService()
the type of the service according to OGC interfaces, such as WMS, WFS.

Returns:
the type of the service according to OGC interfaces, such as WMS, WFS.

getOnlineResource

public java.net.URL getOnlineResource()
link to the online resource

Returns:
link to the online resource

setTitle

public void setTitle(java.lang.String title)
see also org.deegree.clients.context.Server#getTitle()

Parameters:
title -

setVersion

public void setVersion(java.lang.String version)
                throws ContextException
see also org.deegree.clients.context.Server#getFeatureVersion()

Parameters:
version -
Throws:
ContextException

setService

public void setService(java.lang.String service)
                throws ContextException
see also org.deegree.clients.context.Server#getService()

Parameters:
service -
Throws:
ContextException

setOnlineResource

public void setOnlineResource(java.net.URL onlineResource)
                       throws ContextException
see also org.deegree.clients.context.Server#getOnlineResource()

Parameters:
onlineResource -
Throws:
ContextException

getCapabilities

public OGCCapabilities getCapabilities()
returns the capabilities of the encapsulated server

Returns:
the capabilities of the encapsulated server

setCapabilities

public void setCapabilities(OGCCapabilities capabilities)
Parameters:
capabilities -
See Also:
getCapabilities()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

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