Class URL2OWLOntology
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer<URL,org.semanticweb.owlapi.model.OWLOntology>
de.uni_mannheim.informatik.dws.melt.matching_owlapi.typetransformation.URL2OWLOntology
- All Implemented Interfaces:
TypeTransformer<URL,
org.semanticweb.owlapi.model.OWLOntology>
public class URL2OWLOntology
extends AbstractTypeTransformer<URL,org.semanticweb.owlapi.model.OWLOntology>
Converts the URL to the owlapi OWLOntology
-
Field Summary
Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer
sourceClass, targetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.semanticweb.owlapi.model.OWLOntology
transform
(URL value, Properties parameters) Transforms the given value to the new type.Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer
getSourceType, getTargetType, getTransformationCost
-
Constructor Details
-
URL2OWLOntology
public URL2OWLOntology()
-
-
Method Details
-
transform
public org.semanticweb.owlapi.model.OWLOntology transform(URL value, Properties parameters) throws TypeTransformationException Description copied from interface:TypeTransformer
Transforms the given value to the new type. There is only one instance of this TypeTransformer. So any attribute of the class is used in multiple transformations.- Parameters:
value
- the given value to convertparameters
- the parameters can contain any further hints for the transformation e.g. create OntModel with or without reasoning / in memory or in file etc.- Returns:
- the transformed value
- Throws:
TypeTransformationException
- in case the transformation did not work
-