|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fzi.kadmos.renderer.impl.INRIAFormatRenderer
public final class INRIAFormatRenderer
Renderer that writes the INRIA alignment format in an XML representation.
Participation in the Ontology Alignment Evaluation Initiative (OAEI) requires alignments to be submitted in this format.
The renderer writes some constant values according to the nature of this API. In particular, the alignment type is "11", the ontology formalism is "OWL2.0" for both ontologies. Furthermore, the correspondence type is always "=", i.e. equality.
The renderer uses the JDOM library for writing XML.
Method Summary | |
---|---|
static INRIAFormatRenderer |
getInstance(PrintWriter writer)
Gets a (new) instance of this renderer. |
void |
render(Alignment alignment)
Renders an alignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static INRIAFormatRenderer getInstance(PrintWriter writer)
PrintWriter
instance there can only be one renderer instance.
writer
- The PrintWriter
used for rendering.
public void render(Alignment alignment) throws IOException
render
in interface AlignmentRenderer
alignment
- Reference to the alignment to be rendered.
IOException
- if an error occurs when rendering.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |