Class TextExtractorFallback
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.textExtractors.TextExtractorFallback
- All Implemented Interfaces:
TextExtractor
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
ConstructorDescriptionTextExtractorFallback
(TextExtractor... extractors) TextExtractorFallback
(List<TextExtractor> extractors) TextExtractorFallback
(org.apache.jena.rdf.model.Property... properties) -
Method Summary
-
Field Details
-
extractors
-
-
Constructor Details
-
TextExtractorFallback
-
TextExtractorFallback
-
TextExtractorFallback
public TextExtractorFallback(org.apache.jena.rdf.model.Property... properties)
-
-
Method Details
-
extract
Description copied from interface:TextExtractor
Given a Jena resource this method extracts textual/string representations from it.- Specified by:
extract
in interfaceTextExtractor
- Parameters:
r
- the jena resource which also allows to traverse the whole rdf graph- Returns:
- a set of textual representations of the given resource.
-
getExtractors
-
hashCode
public int hashCode() -
equals
-