Alignment API and Server 4.2.${version.update}

fr.inrialpes.exmo.align.impl.renderer
Class SWRLRendererVisitor

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.renderer.SWRLRendererVisitor
All Implemented Interfaces:
AlignmentVisitor

public class SWRLRendererVisitor
extends Object
implements AlignmentVisitor

Renders an alignment as a SWRL rule set interpreting .data of the first ontology into the second one.

Version:
$Id: SWRLRendererVisitor.java 1459 2010-06-17 08:31:04Z euzenat $
Author:
Jérôme Euzenat

Field Summary
(package private)  Alignment alignment
           
(package private)  Cell cell
           
(package private)  boolean embedded
           
(package private)  LoadedOntology onto1
           
(package private)  LoadedOntology onto2
           
(package private)  PrintWriter writer
           
 
Constructor Summary
SWRLRendererVisitor(PrintWriter writer)
           
 
Method Summary
 void init(Properties p)
           
 void visit(Alignment align)
           
 void visit(Cell cell)
           
 void visit(EquivRelation rel)
           
 void visit(IncompatRelation rel)
           
 void visit(Relation rel)
           
 void visit(SubsumedRelation rel)
           
 void visit(SubsumeRelation rel)
           
 void visit(Visitable o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

PrintWriter writer

alignment

Alignment alignment

onto1

LoadedOntology onto1

onto2

LoadedOntology onto2

cell

Cell cell

embedded

boolean embedded
Constructor Detail

SWRLRendererVisitor

public SWRLRendererVisitor(PrintWriter writer)
Method Detail

init

public void init(Properties p)
Specified by:
init in interface AlignmentVisitor

visit

public void visit(Visitable o)
           throws AlignmentException
Specified by:
visit in interface AlignmentVisitor
Throws:
AlignmentException

visit

public void visit(Alignment align)
           throws AlignmentException
Throws:
AlignmentException

visit

public void visit(Cell cell)
           throws AlignmentException
Throws:
AlignmentException

visit

public void visit(EquivRelation rel)
           throws AlignmentException
Throws:
AlignmentException

visit

public void visit(SubsumeRelation rel)

visit

public void visit(SubsumedRelation rel)

visit

public void visit(IncompatRelation rel)

visit

public void visit(Relation rel)
           throws AlignmentException
Throws:
AlignmentException

Alignment API and Server 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}