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

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

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

public class SKOSRendererVisitor
extends Object
implements AlignmentVisitor

Renders an alignment as a new ontology merging these.

Version:
$Id: SKOSRendererVisitor.java 1299 2010-03-07 19:47: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)  boolean pre2008
           
(package private)  PrintWriter writer
           
 
Constructor Summary
SKOSRendererVisitor(PrintWriter writer)
           
 
Method Summary
 URI getURI2()
           
 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

pre2008

boolean pre2008
Constructor Detail

SKOSRendererVisitor

public SKOSRendererVisitor(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

getURI2

public URI getURI2()
            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)
           throws AlignmentException
Throws:
AlignmentException

visit

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

visit

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

visit

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

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

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