@Deprecated public abstract class LegoDotWriter extends Object implements LegoRenderer
| Constructor and Description |
|---|
LegoDotWriter(OWLGraphWrapper graph,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Deprecated.
Create a new writer for the given ontology and reasoner.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
appendLine(CharSequence line)
Deprecated.
Write a line to the file.
|
protected void |
close()
Deprecated.
Overwrite this method to implement a custom close() function for the writer.
|
protected void |
open()
Deprecated.
Overwrite this method to implement a custom open() routine for the writer.
|
void |
render(Collection<org.semanticweb.owlapi.model.OWLNamedIndividual> individuals,
String name,
boolean renderKey)
Deprecated.
Render the given individuals (aka set of annotations).
|
void |
renderLego(Collection<LegoNode> nodes,
String name,
boolean renderKey)
Deprecated.
Render the given collection of nodes (
LegoNode) |
public LegoDotWriter(OWLGraphWrapper graph, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
graph - reasoner - public void render(Collection<org.semanticweb.owlapi.model.OWLNamedIndividual> individuals, String name, boolean renderKey) throws IOException, LegoTools.UnExpectedStructureException
LegoRendererrender in interface LegoRenderername - name of the graph (optional)IOExceptionLegoTools.UnExpectedStructureException - thrown, if there are unexpected axioms.public void renderLego(Collection<LegoNode> nodes, String name, boolean renderKey) throws IOException
LegoNode)nodes - name - name of the graph (optional)renderKey - IOExceptionprotected void open()
throws IOException
IOExceptionprotected abstract void appendLine(CharSequence line) throws IOException
line - IOExceptionprotected void close()
Copyright © 2010–2015. All rights reserved.