public class JSONRenderer extends AbstractRenderer implements SimResultRenderer
SimResultRenderer.AttributesSimScores, SimResultRenderer.IndividualSimScores
graph, owlpp, resultOutStream
Constructor and Description |
---|
JSONRenderer(PrintStream resultOutStream) |
JSONRenderer(PrintStream resultOutStream,
String separator,
String commentPrefix) |
getGraph, getResultOutStream, setGraph, setResultOutStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraph, getResultOutStream, setGraph
public JSONRenderer(PrintStream resultOutStream, String separator, String commentPrefix)
public JSONRenderer(PrintStream resultOutStream)
public void printComment(CharSequence comment)
printComment
in interface SimResultRenderer
public void printAttributeSim(SimResultRenderer.AttributesSimScores simScores, OWLGraphWrapper graph)
printAttributeSim
in interface SimResultRenderer
public void printIndividualPairSim(SimResultRenderer.IndividualSimScores scores, OWLPrettyPrinter owlpp, OWLGraphWrapper graph)
printIndividualPairSim
in interface SimResultRenderer
protected CharSequence renderPair(org.semanticweb.owlapi.model.OWLNamedIndividual i, org.semanticweb.owlapi.model.OWLNamedIndividual j, OWLPrettyPrinter owlpp)
protected CharSequence show(Set<org.semanticweb.owlapi.model.OWLClassExpression> cset, OWLPrettyPrinter owlpp)
public void printAttributeSimWithIndividuals(SimResultRenderer.AttributesSimScores simScores, OWLPrettyPrinter owlpp, OWLGraphWrapper g, org.semanticweb.owlapi.model.OWLNamedIndividual i, org.semanticweb.owlapi.model.OWLNamedIndividual j)
printAttributeSimWithIndividuals
in interface SimResultRenderer
public void printAttributeSim(SimResultRenderer.AttributesSimScores simScores, OWLGraphWrapper graph, OWLPrettyPrinter owlpp)
printAttributeSim
in interface SimResultRenderer
public void dispose()
dispose
in interface SimResultRenderer
dispose
in class AbstractRenderer
public void printPairScores(ElementPairScores scores)
printPairScores
in interface SimResultRenderer
public void printPairScores(AttributePairScores scores)
printPairScores
in interface SimResultRenderer
Copyright © 2010–2016. All rights reserved.