Class TextExtractorMultipleProperties
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.textExtractors.TextExtractorMultipleProperties
- All Implemented Interfaces:
TextExtractor
Extracts all values from specific properties as long as it is a literal.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTextExtractorMultipleProperties
(Set<org.apache.jena.rdf.model.Property> properties) TextExtractorMultipleProperties
(org.apache.jena.rdf.model.Property... property) -
Method Summary
-
Field Details
-
properties
-
-
Constructor Details
-
TextExtractorMultipleProperties
public TextExtractorMultipleProperties(org.apache.jena.rdf.model.Property... property) -
TextExtractorMultipleProperties
-
-
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.
-
hashCode
public int hashCode() -
equals
-
getProperties
-