Interface IExplainerResource
public interface IExplainerResource
Interface for classes that are able to generate explanatory statements about individual resources.
- Author:
- Sven Hertling, Jan Portisch
-
Method Summary
Modifier and Type Method Description List<String>
getResourceFeatureNames()
Get the names of the resource features which will also appear in the result ofgetResourceFeatures(String)
.Map<String,String>
getResourceFeatures(String uri)
Gets information (features) about a resource (represent through the uri parameter) from e.g.
-
Method Details
-
getResourceFeatures
Gets information (features) about a resource (represent through the uri parameter) from e.g. a matcher. The result is a map of feature name and corresponding value.- Parameters:
uri
- the resource uri.- Returns:
- a map of feature name and corresponding value.
-
getResourceFeatureNames
Get the names of the resource features which will also appear in the result ofgetResourceFeatures(String)
.- Returns:
- A list of the resource feature names.
-