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

org.deegree.ogcwebservices.getcapabilities
Class CapabilitiesService

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.CapabilitiesService

public class CapabilitiesService
extends java.lang.Object

The interface provides acces to the <CapabilitiesService> element of the Capabilities XML providing general metadata for the service as a whole. It shall include a Name, Title, and Online Resource URL. Optionally, Abstract, Keyword List, Contact Information, Fees, and Access Constraints may be provided. The meaning of most of these elements is defined in [ISO 19115]. The CapabilitiesService Name shall be "ogc:WMS" in the case of a Web Map CapabilitiesService.

----------------------------------------------------------------------

Version:
$Revision: 18195 $
Author:
Katharina Lupp, Markus Schneider

Constructor Summary
CapabilitiesService(java.lang.String name, java.lang.String title, java.lang.String abstract_, java.lang.String[] keywords, java.net.URL onlineResource, ContactInformation contactInformation, java.lang.String fees, java.lang.String accessConstraints)
          constructor initializing the class with the OGCWebServiceCapabilities
 
Method Summary
 void addKeyword(java.lang.String keyword)
          adds the keywordList
 java.lang.String getAbstract()
          The Abstract element allows a descriptive narrative providing more information about the enclosing object.
 java.lang.String getAccessConstraints()
          Returns access constraints assigned to the service.
 ContactInformation getContactInformation()
          Returns informations who to contact for questions about the service.
 java.lang.String getFees()
          Returns fees assigned to the service.
 java.lang.String[] getKeywordList()
          A list of keywords or keyword phrases should be included to help catalog searching.
 java.lang.String getName()
          returns the name of the service.
 java.net.URL getOnlineResource()
          The OnlineResource element within the CapabilitiesService element can be used, for example, to point to the web site of the service provider.
 java.lang.String getTitle()
          Returns the title of the service.
 void setAbstract(java.lang.String abstract_)
          Sets the abstract element
 void setAccessConstraints(java.lang.String accessConstraints)
          Sets access constraints assigned to the service.
 void setContactInformation(ContactInformation contactInformation)
          Sets informations who to contact for questions about the service.
 void setFees(java.lang.String fees)
          Sets fees assigned to the service.
 void setKeywordList(java.lang.String[] keywordList)
          sets the keywordList
 void setName(java.lang.String name)
          sets the name of the service.
 void setOnlineResource(java.net.URL onlineResource)
          sets URL prefix for get HTTP request method.
 void setTitle(java.lang.String title)
          Sets the title of the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapabilitiesService

public CapabilitiesService(java.lang.String name,
                           java.lang.String title,
                           java.lang.String abstract_,
                           java.lang.String[] keywords,
                           java.net.URL onlineResource,
                           ContactInformation contactInformation,
                           java.lang.String fees,
                           java.lang.String accessConstraints)
constructor initializing the class with the OGCWebServiceCapabilities

Parameters:
name -
title -
abstract_ -
keywords -
onlineResource -
contactInformation -
fees -
accessConstraints -
Method Detail

getName

public java.lang.String getName()
returns the name of the service. Typically, the Name is a single word used for machine-to-machine communication.

Returns:
name of the service

setName

public void setName(java.lang.String name)
sets the name of the service. Typically, the Name is a single word used for machine-to-machine communication.

Parameters:
name -

getTitle

public java.lang.String getTitle()
Returns the title of the service. The Title is for the benefit of humans. The CapabilitiesService Title is at the discretion of the provider, and should be brief yet descriptive enough to identify this server in a menu with other servers.

Returns:
title of the service
See Also:
getName()

setTitle

public void setTitle(java.lang.String title)
Sets the title of the service. The Title is for the benefit of humans. The CapabilitiesService Title is at the discretion of the provider, and should be brief yet descriptive enough to identify this server in a menu with other servers.

Parameters:
title -
See Also:
getName()

getAbstract

public java.lang.String getAbstract()
The Abstract element allows a descriptive narrative providing more information about the enclosing object.

Returns:
the abstract

setAbstract

public void setAbstract(java.lang.String abstract_)
Sets the abstract element

Parameters:
abstract_ -

getKeywordList

public java.lang.String[] getKeywordList()
A list of keywords or keyword phrases should be included to help catalog searching. Currently, no controlled vocabulary has been defined.

Returns:
the keyword list

addKeyword

public void addKeyword(java.lang.String keyword)
adds the keywordList

Parameters:
keyword -

setKeywordList

public void setKeywordList(java.lang.String[] keywordList)
sets the keywordList

Parameters:
keywordList -

getOnlineResource

public java.net.URL getOnlineResource()
The OnlineResource element within the CapabilitiesService element can be used, for example, to point to the web site of the service provider. There are other OnlineResource elements used for the URL prefix of each supported operation.

Returns:
the link

setOnlineResource

public void setOnlineResource(java.net.URL onlineResource)
sets URL prefix for get HTTP request method.

Parameters:
onlineResource -

getContactInformation

public ContactInformation getContactInformation()
Returns informations who to contact for questions about the service. This method returns null if no contact informations are available.

Returns:
informations who to contact for questions about the service. This method returns null if no contact informations are available.

setContactInformation

public void setContactInformation(ContactInformation contactInformation)
Sets informations who to contact for questions about the service. This method returns null if no contact informations are available.

Parameters:
contactInformation -

getFees

public java.lang.String getFees()
Returns fees assigned to the service. If no fees defined "none" will be returned.

Returns:
fees assigned to the service. If no fees defined "none" will be returned.

setFees

public void setFees(java.lang.String fees)
Sets fees assigned to the service. If no fees defined "none" will be returned.

Parameters:
fees -

getAccessConstraints

public java.lang.String getAccessConstraints()
Returns access constraints assigned to the service. If no access constraints are defined "none" will be returned.

Returns:
the constraints

setAccessConstraints

public void setAccessConstraints(java.lang.String accessConstraints)
Sets access constraints assigned to the service. If no access constraints are defined "none" will be returned.

Parameters:
accessConstraints -

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