org.geotools.data.wms
Class WebMapServer.WMSInfo

Object
  extended by WebMapServer.WMSInfo
All Implemented Interfaces:
ServiceInfo
Enclosing class:
WebMapServer

protected class WebMapServer.WMSInfo
extends Object
implements ServiceInfo

Class quickly describing Web Map Service.

Author:
Jody

Method Summary
 String getDescription()
          Human readable description of this service.
 Icon getIcon()
           
 Set<String> getKeywords()
          Keywords associated with this service.
 URI getPublisher()
          Party responsible for providing this service.
 URI getSchema()
          We are a Web Map Service:
 URI getSource()
          The source of this WMS is the capabilities document.
 String getTitle()
          Human readable title representing the service.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescription

public String getDescription()
Description copied from interface: ServiceInfo
Human readable description of this service.

This use is understood to be in agreement with "dublin-core", implementors may use either abstract or description as needed.

Specified by:
getDescription in interface ServiceInfo
Returns:
Human readable description, may be null.

getIcon

public Icon getIcon()

getKeywords

public Set<String> getKeywords()
Description copied from interface: ServiceInfo
Keywords associated with this service.

Maps to the Dublin Core Subject element.

Specified by:
getKeywords in interface ServiceInfo
Returns:
keywords associated with this service.

getPublisher

public URI getPublisher()
Description copied from interface: ServiceInfo
Party responsible for providing this service.

Known mappings:

Specified by:
getPublisher in interface ServiceInfo
Returns:
URI identifying the publisher of this service

getSchema

public URI getSchema()
We are a Web Map Service:

Specified by:
getSchema in interface ServiceInfo
Returns:
WMSSchema.NAMESPACE;

getSource

public URI getSource()
The source of this WMS is the capabilities document.

We make an effort here to look in the capabilities document provided for the unambiguous capabilities URI. This covers the case where the capabilities document has been cached on disk and we are restoring a WebMapServer instance.

Specified by:
getSource in interface ServiceInfo
Returns:
Source of this service

getTitle

public String getTitle()
Description copied from interface: ServiceInfo
Human readable title representing the service.

The title is used to represent the service in the context of a user interface and should make use of the current Locale if possible.

Specified by:
getTitle in interface ServiceInfo
Returns:
title, null if unsupported.


Copyright © 1996-2010 Geotools. All Rights Reserved.