fr.inrialpes.exmo.align.impl.renderer
Class SWRLRendererVisitor
java.lang.Object
fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
fr.inrialpes.exmo.align.impl.renderer.SWRLRendererVisitor
- All Implemented Interfaces:
- AlignmentVisitor
public class SWRLRendererVisitor
- extends GenericReflectiveVisitor
- implements AlignmentVisitor
Renders an alignment as a SWRL rule set interpreting
.data of the first ontology into the second one.
- Version:
- $Id: SWRLRendererVisitor.java 1866 2014-01-14 14:34:59Z euzenat $
- Author:
- Jérôme Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static final org.slf4j.Logger logger
writer
PrintWriter writer
alignment
Alignment alignment
onto1
LoadedOntology onto1
onto2
LoadedOntology onto2
cell
Cell cell
embedded
boolean embedded
SWRLRendererVisitor
public SWRLRendererVisitor(PrintWriter writer)
init
public void init(Properties p)
- Specified by:
init
in interface AlignmentVisitor
visit
public void visit(Alignment align)
throws AlignmentException
- Specified by:
visit
in interface AlignmentVisitor
- Throws:
AlignmentException
visit
public void visit(Cell cell)
throws AlignmentException
- Specified by:
visit
in interface AlignmentVisitor
- Throws:
AlignmentException
visit
public void visit(EquivRelation rel)
throws AlignmentException
- Throws:
AlignmentException
visit
public void visit(SubsumeRelation rel)
throws AlignmentException
- Throws:
AlignmentException
visit
public void visit(SubsumedRelation rel)
throws AlignmentException
- Throws:
AlignmentException
generateImplication
public void generateImplication(Object ob1,
Object ob2)
throws AlignmentException
- Throws:
AlignmentException
visit
public void visit(IncompatRelation rel)
throws AlignmentException
- Throws:
AlignmentException
visit
public void visit(Relation rel)
throws AlignmentException
- Specified by:
visit
in interface AlignmentVisitor
- Throws:
AlignmentException
(C) INRIA & friends, 2003-2014