Class TextExtractorAllStringLiterals
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.textExtractors.TextExtractorAllStringLiterals
- All Implemented Interfaces:
TextExtractor
This extractor uses all literals which are also strings e.g. all literal with datatype XSD string or dtLangString or
have a language tag.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TextExtractorAllStringLiterals
public TextExtractorAllStringLiterals()
-
-
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.
-
isLiteralAString
public static boolean isLiteralAString(org.apache.jena.rdf.model.Literal lit) -
hashCode
public int hashCode() -
equals
-