Class OntModel2URLTransformer
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer<org.apache.jena.ontology.OntModel,URL>
de.uni_mannheim.informatik.dws.melt.matching_jena.typetransformation.OntModel2URLTransformer
- All Implemented Interfaces:
TypeTransformer<org.apache.jena.ontology.OntModel,
URL>
public class OntModel2URLTransformer
extends AbstractTypeTransformer<org.apache.jena.ontology.OntModel,URL>
-
Field Summary
Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.typetransformer.AbstractTypeTransformer
sourceClass, targetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(org.apache.jena.ontology.OntModel 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
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
OntModel2URLTransformer
public OntModel2URLTransformer()
-
-
Method Details
-
transform
public URL transform(org.apache.jena.ontology.OntModel 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
-