Alignment API and Server 3.2

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

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

public class XSLTRendererVisitor
extends Object
implements AlignmentVisitor

Renders an alignment as a XSLT stylesheet transforming .data of the first ontology into the second one.

Version:
$Id: XSLTRendererVisitor.java 643 2008-02-23 11:16:09Z euzenat $
Author:
Jérôme Euzenat

Field Summary
(package private)  Alignment alignment
           
(package private)  Cell cell
           
(package private)  Hashtable namespaces
           
(package private)  int nsrank
           
(package private)  PrintWriter writer
           
 
Constructor Summary
XSLTRendererVisitor(PrintWriter writer)
           
 
Method Summary
private  void collectURIs(Cell cell)
           
private  String namespacify(URI u)
           
 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)
           
 
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

cell

Cell cell

namespaces

Hashtable namespaces

nsrank

int nsrank
Constructor Detail

XSLTRendererVisitor

public XSLTRendererVisitor(PrintWriter writer)
Method Detail

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

collectURIs

private void collectURIs(Cell cell)
                  throws AlignmentException
Throws:
AlignmentException

visit

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

namespacify

private String namespacify(URI u)

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
Specified by:
visit in interface AlignmentVisitor
Throws:
AlignmentException

Alignment API and Server 3.2

(C) INRIA & friends, 2003-2008