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 StringgetDescription()Maps to the capabilities' service identification abstractIcongetIcon()Set<String>getKeywords()Maps to the capabilities' service identification keywords listURIgetPublisher()Party responsible for providing this service.URIgetSchema()Maps to the WFS xsd schema in schemas.opengis.netURIgetSource()Maps to the URL of the capabilities documentStringgetTitle()Human readable title representing the service.StringgetVersion()
-
-
-
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:
getDescriptionin 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:
getKeywordsin interfaceServiceInfo- Returns:
- keywords associated with this service.
- See Also:
ServiceInfo.getDescription()
-
getPublisher
public URI getPublisher()
Description copied from interface:ServiceInfoParty 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:
getPublisherin 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:
getSchemain 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:
getSourcein interfaceServiceInfo- Returns:
- Source of this service
- See Also:
ServiceInfo.getSource()
-
getTitle
public String getTitle()
Description copied from interface:ServiceInfoHuman 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:
getTitlein interfaceServiceInfo- Returns:
- title, null if unsupported.
- See Also:
ServiceInfo.getTitle()
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceWFSServiceInfo- Returns:
- the WFS protocol version
- See Also:
WFSServiceInfo.getVersion()
-
-