Class CapabilitiesServiceInfo
- Object
-
- CapabilitiesServiceInfo
-
- All Implemented Interfaces:
ServiceInfo
,WFSServiceInfo
public final class CapabilitiesServiceInfo extends Object implements WFSServiceInfo
Adapts a WFS capabilities document toServiceInfo
-
-
Constructor Summary
Constructors Constructor Description CapabilitiesServiceInfo(String schemaUri, URL getCapsUrl, WFSCapabilitiesType capabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Maps to the capabilities' service identification abstractIcon
getIcon()
Set<String>
getKeywords()
Maps to the capabilities' service identification keywords listURI
getPublisher()
Party responsible for providing this service.URI
getSchema()
Maps to the WFS xsd schema in schemas.opengis.netURI
getSource()
Maps to the URL of the capabilities documentString
getTitle()
Human readable title representing the service.String
getVersion()
-
-
-
Constructor Detail
-
CapabilitiesServiceInfo
public CapabilitiesServiceInfo(String schemaUri, URL getCapsUrl, WFSCapabilitiesType capabilities)
-
-
Method Detail
-
getDescription
public String getDescription()
Maps to the capabilities' service identification abstract- Specified by:
getDescription
in interfaceServiceInfo
- Returns:
- Human readable description, may be null.
- See Also:
ServiceInfo.getDescription()
-
getIcon
public Icon getIcon()
- Returns:
null
- See Also:
ServiceInfo.getDescription()
-
getKeywords
public Set<String> getKeywords()
Maps to the capabilities' service identification keywords list- Specified by:
getKeywords
in interfaceServiceInfo
- Returns:
- keywords associated with this service.
- See Also:
ServiceInfo.getDescription()
-
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 interfaceServiceInfo
- Returns:
- URI identifying the publisher of this service
- See Also:
ServiceInfo.getPublisher()
-
getSchema
public URI getSchema()
Maps to the WFS xsd schema in schemas.opengis.net- Specified by:
getSchema
in interfaceServiceInfo
- Returns:
- URI used to identify service type
- See Also:
ServiceInfo.getSchema()
-
getSource
public URI getSource()
Maps to the URL of the capabilities document- Specified by:
getSource
in interfaceServiceInfo
- Returns:
- Source of this service
- See Also:
ServiceInfo.getSource()
-
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 interfaceServiceInfo
- Returns:
- title, null if unsupported.
- See Also:
ServiceInfo.getTitle()
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceWFSServiceInfo
- Returns:
- the WFS protocol version
- See Also:
WFSServiceInfo.getVersion()
-
-