Class LiteralExtractorUrlFragment
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.literalExtractors.LiteralExtractorUrlFragment
- All Implemented Interfaces:
LiteralExtractor
Extracts the fragment of the url e.g. part after last slash or hashtag.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LiteralExtractorUrlFragment
public LiteralExtractorUrlFragment()
-
-
Method Details
-
extract
Description copied from interface:LiteralExtractor
Given a jena resourcer
, it extracts the literals which are usually helpful for matching. It does not do any tokenization nor transformation.- Specified by:
extract
in interfaceLiteralExtractor
- Parameters:
r
- the jena resource to extract the literals (which describe this resource).- Returns:
- a set of literals which describes the resource.
-
hashCode
public int hashCode() -
equals
-