Class LiteralExtractorFallback
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.literalExtractors.LiteralExtractorFallback
- All Implemented Interfaces:
LiteralExtractor
This extractor is a composer and uses the given extractor in the given order as long as an extractor will yield an result.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLiteralExtractorFallback
(LiteralExtractor... extractors) LiteralExtractorFallback
(List<LiteralExtractor> extractors) LiteralExtractorFallback
(org.apache.jena.rdf.model.Property... properties) -
Method Summary
-
Field Details
-
extractors
-
-
Constructor Details
-
LiteralExtractorFallback
-
LiteralExtractorFallback
-
LiteralExtractorFallback
public LiteralExtractorFallback(org.apache.jena.rdf.model.Property... properties)
-
-
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.
-
getExtractors
-
hashCode
public int hashCode() -
equals
-