|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fzi.kadmos.wrapper.inria.Utils
public class Utils
This class contains some methods used for converting from INRIA to KADMOS.
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 |
---|
public static OWLOntology convertToOWLOntology(Object ontology) throws fr.inrialpes.exmo.ontowrap.OntowrapException
OWLOntology
from the given Object
.
If casting the Object fails a OWLAPI3OntologyFactory
is used to retrieve a OWLOntology
.
ontology
- The Object which should be transformed
OWLOntology
representing the same Ontology as the given Object.
fr.inrialpes.exmo.ontowrap.OntowrapException
public static Alignment convertToKadmosAlignment(org.semanticweb.owl.align.Alignment arg0) throws fr.inrialpes.exmo.ontowrap.OntowrapException, IncompatibleEntityTypesException
SimpleAlignment
from the given Alignment
.
fr.inrialpes.exmo.ontowrap.OntowrapException
IncompatibleEntityTypesException
- if there is a correspondence between entities of different types.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |