it.unitn.disi.smatch.renderers.mapping
Class DefaultHTMLMappingRenderer
java.lang.Object
it.unitn.disi.smatch.renderers.mapping.DefaultHTMLMappingRenderer
- All Implemented Interfaces:
- IMappingRenderer
public class DefaultHTMLMappingRenderer
- extends java.lang.Object
- implements IMappingRenderer
Renders a mapping into an HTML file. Suits well small matching tasks for debugging.
- Author:
- Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com
Method Summary |
protected void |
printMatricesToFile(java.lang.String fileName,
IMatchMatrix ClabMatrix,
IMatchMatrix CnodMatrix,
java.util.Vector<IAtomicConceptOfLabel> sourceACoLs,
java.util.Vector<IAtomicConceptOfLabel> targetACoLs,
java.util.Vector<INode> sourceNodes,
java.util.Vector<INode> targetNodes)
Prints cLab and cNode Matrices into file |
IMapping |
render(java.util.Vector args)
0th element of the Vector is filename to save mappings
1st element is char[][] CnodMatrix
2nd element is char[][] CLabMatrix
3rd element is Context sourceContext
4th element is Context targetContext
Other can be used for further parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHTMLMappingRenderer
public DefaultHTMLMappingRenderer()
render
public IMapping render(java.util.Vector args)
- Description copied from interface:
IMappingRenderer
- 0th element of the Vector is filename to save mappings
1st element is char[][] CnodMatrix
2nd element is char[][] CLabMatrix
3rd element is Context sourceContext
4th element is Context targetContext
Other can be used for further parameters
- Specified by:
render
in interface IMappingRenderer
printMatricesToFile
protected void printMatricesToFile(java.lang.String fileName,
IMatchMatrix ClabMatrix,
IMatchMatrix CnodMatrix,
java.util.Vector<IAtomicConceptOfLabel> sourceACoLs,
java.util.Vector<IAtomicConceptOfLabel> targetACoLs,
java.util.Vector<INode> sourceNodes,
java.util.Vector<INode> targetNodes)
- Prints cLab and cNode Matrices into file
- Parameters:
fileName
- File nameClabMatrix
- cLabMatrixCnodMatrix
- cNodeMatrix
© 2010 Knowdive @ DISI