Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.

        • Dublin Core: A textual description of the content of the resource, including abstracts in the case of document-like objects or content descriptions in the case of visual resources. When providing actual dublin-core metadata you can gather up all the description information into a single string for searching.
        • WMS: abstract
        • WFS: abstract
        • shapefile shp.xml information
        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:

        • WMS contact info
        • File formats may wish to use the current user, or the last user to modify the file
        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.