org.geotools.catalog
Interface ServiceInfo

All Known Implementing Classes:
DefaultServiceInfo

public interface ServiceInfo

Provides metadata information about a service.

A bean - style metadata which must already be loaded. Much of the names and motivation have been taken from Dublin Code and it's application profile for RDF.

Since:
0.6
Author:
David Zwiers, Refractions Research, Justin Deoliveira, The Open Planning Project

Method Summary
 java.lang.String getAbstract()
          Return the service abstract
 java.lang.String getDescription()
          Returns the service description
 javax.swing.Icon getIcon()
          Base symbology (with out decorators) representing this IService.
 java.lang.String[] getKeywords()
          Returns the service keywords.
 java.net.URI getPublisher()
          Return the service publisher
 java.net.URI getSchema()
          Returns the xml schema namespace for this service type.
 java.net.URI getSource()
          Returns the service source.
 java.lang.String getTitle()
          Returns the service title, may be empty or null if unsupported.
 

Method Detail

getTitle

public java.lang.String getTitle()
Returns the service title, may be empty or null if unsupported.

Note this is always metadata, and is in user terms.

Returns:
title, may be empty, null if unsupported.

getKeywords

public java.lang.String[] getKeywords()
Returns the service keywords. Maps to the Dublin Core Subject element.

Returns:

getDescription

public java.lang.String getDescription()
Returns the service description

Returns:

getAbstract

public java.lang.String getAbstract()
Return the service abstract

Returns:

getPublisher

public java.net.URI getPublisher()
Return the service publisher

Returns:

getSchema

public java.net.URI getSchema()
Returns the xml schema namespace for this service type. Maps to the Dublin Code Format element

Returns:

getSource

public java.net.URI getSource()
Returns the service source. Maps to the Dublin Core Server Element

Returns:

getIcon

public javax.swing.Icon getIcon()
Base symbology (with out decorators) representing this IService.

The Icon returned should conform the the Eclipse User Interface Guidelines (16x16 image with a 16x15 glyph centered).

This plug-in provides default images based on service type:


  <b>return</b> ISharedImages.getImagesDescriptor( IService );
 


Copyright © GeoTools. All Rights Reserved.