Package org.geotools.api.data
Interface ServiceInfo
- All Known Subinterfaces:
FileServiceInfo
,WFSServiceInfo
- All Known Implementing Classes:
Capabilities200ServiceInfo
,CapabilitiesServiceInfo
,DefaultFileServiceInfo
,DefaultServiceInfo
,WebMapServer.WMSInfo
public interface ServiceInfo
Information about a service.
You can treat this bean as a "summary view" on more complete metadata information that may be accessible as header or table information.
The names used in this class have been taken from Dublin Code and it's application profile for RDF.
- Since:
- 2.5
- Author:
- Jody Garnett, Refractions Research, David Zwiers, Refractions Research, Justin Deoliveira, The Open Planning Project
-
Method Summary
Modifier and TypeMethodDescriptionHuman readable description of this service.Keywords associated with this service.Party responsible for providing this service.A URI used to identify the service type.Returns the service source.getTitle()
Human readable title representing the service.
-
Method Details
-
getTitle
String getTitle()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.
- Returns:
- title, null if unsupported.
-
getKeywords
Keywords associated with this service.Maps to the Dublin Core Subject element.
- Returns:
- keywords associated with this service.
-
getDescription
String getDescription()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
- Returns:
- Human readable description, may be null.
- Dublin Core:
-
getPublisher
URI getPublisher()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
- Returns:
- URI identifying the publisher of this service
-
getSchema
URI getSchema()A URI used to identify the service type.Maps to the Dublin Code Format element.
- Service type for open web services
- File format or extension for on disk files
- XML schema namespace for this service type.
- Returns:
- URI used to identify service type
-
getSource
URI getSource()Returns the service source.Maps to the Dublin Core Server Element.
- Open web services can use the online resource of their capabilies document
- File formats may wish to use their parent directory
- Returns:
- Source of this service
-