fr.inrialpes.exmo.align.impl.renderer
Class XSLTRendererVisitor
java.lang.Object
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 1299 2010-03-07 19:47:04Z euzenat $
- Author:
- Jérôme Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
PrintWriter writer
alignment
Alignment alignment
cell
Cell cell
onto1
LoadedOntology onto1
onto2
LoadedOntology onto2
namespaces
Hashtable<String,String> namespaces
nsrank
int nsrank
embedded
boolean embedded
XSLTRendererVisitor
public XSLTRendererVisitor(PrintWriter writer)
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
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
- Throws:
AlignmentException
(C) INRIA & friends, 2003-${curryear}