Class TextExtractorUrlLocalName
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.textExtractors.TextExtractorUrlLocalName
- All Implemented Interfaces:
TextExtractor
Extracts the local name from the URI. This wraps the Jena method getLocalName of class Resource which maps itself to
org.apache.jena.rdf.model.impl.Util#splitNamespaceXML(String)
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TextExtractorUrlLocalName
public TextExtractorUrlLocalName()
-
-
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
-