Class ResourcesExtractorObjectProperties
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.resourcesExtractors.ResourcesExtractorObjectProperties
- All Implemented Interfaces:
ResourcesExtractor
Extracts object properties from a given OntModel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIterator<? extends org.apache.jena.ontology.OntResource>
extract
(org.apache.jena.ontology.OntModel model, Properties parameters) This function extracts specific resources of a given OntModel.
-
Constructor Details
-
ResourcesExtractorObjectProperties
public ResourcesExtractorObjectProperties()
-
-
Method Details
-
extract
public Iterator<? extends org.apache.jena.ontology.OntResource> extract(org.apache.jena.ontology.OntModel model, Properties parameters) Description copied from interface:ResourcesExtractor
This function extracts specific resources of a given OntModel. This can be for example all classes, all properties, all object properties etc.- Specified by:
extract
in interfaceResourcesExtractor
- Parameters:
model
- the ontmodel to extract all resources fromparameters
- the properties which are given by the match method. This can contain information about which resources should be matched.- Returns:
- an iterator of the extracted resources.
-