de.fzi.kadmos.wrapper.inria
Class Utils

java.lang.Object
  extended by de.fzi.kadmos.wrapper.inria.Utils

public class Utils
extends Object

This class contains some methods used for converting from INRIA to KADMOS.

Version:
1.3.0
Author:
Carsten Daenschel

Method Summary
static Alignment convertToKadmosAlignment(org.semanticweb.owl.align.Alignment arg0)
          Creates a new SimpleAlignment from the given Alignment.
static OWLOntology convertToOWLOntology(Object ontology)
          This method tries to return an OWLOntology from the given Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertToOWLOntology

public static OWLOntology convertToOWLOntology(Object ontology)
                                        throws fr.inrialpes.exmo.ontowrap.OntowrapException
This method tries to return an OWLOntology from the given Object. If casting the Object fails a OWLAPI3OntologyFactory is used to retrieve a OWLOntology.

Parameters:
ontology - The Object which should be transformed
Returns:
OWLOntology representing the same Ontology as the given Object.
Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException

convertToKadmosAlignment

public static Alignment convertToKadmosAlignment(org.semanticweb.owl.align.Alignment arg0)
                                          throws fr.inrialpes.exmo.ontowrap.OntowrapException,
                                                 IncompatibleEntityTypesException
Creates a new SimpleAlignment from the given Alignment.

Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException
IncompatibleEntityTypesException - if there is a correspondence between entities of different types.


Copyright © 2012. All Rights Reserved.