Package org.geotools.data
Class DefaultServiceInfo
Object
DefaultServiceInfo
- All Implemented Interfaces:
Serializable
,ServiceInfo
- Direct Known Subclasses:
DefaultFileServiceInfo
Implementation of DefaultServiceInfo as a java bean.
- Author:
- Jody Garnett (Refractions Research)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.void
setDescription
(String description) void
setKeywords
(Set<String> keywords) void
setPublisher
(URI publisher) void
void
void
toString()
-
Field Details
-
description
-
keywords
-
publisher
-
schema
-
title
-
-
Constructor Details
-
DefaultServiceInfo
public DefaultServiceInfo() -
DefaultServiceInfo
-
-
Method Details
-
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 interfaceServiceInfo
- Returns:
- the description
- Dublin Core:
-
setDescription
- Parameters:
description
- the description to set
-
getKeywords
Description copied from interface:ServiceInfo
Keywords associated with this service.Maps to the Dublin Core Subject element.
- Specified by:
getKeywords
in interfaceServiceInfo
- Returns:
- the keywords
-
setKeywords
- Parameters:
keywords
- the keywords to set
-
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 interfaceServiceInfo
- Returns:
- the publisher
-
setPublisher
- Parameters:
publisher
- the publisher to set
-
getSchema
Description copied from interface:ServiceInfo
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.
- Specified by:
getSchema
in interfaceServiceInfo
- Returns:
- the schema
-
setSchema
- Parameters:
schema
- the schema to set
-
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 interfaceServiceInfo
- Returns:
- the title
-
setTitle
- Parameters:
title
- the title to set
-
getSource
Description copied from interface:ServiceInfo
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
- Specified by:
getSource
in interfaceServiceInfo
- Returns:
- the source
-
setSource
- Parameters:
source
- the source to set
-
toString
-