@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
LegoRenderer
render
in interface LegoRenderer
name
- name of the graph (optional)IOException
LegoTools.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
- IOException
protected void open() throws IOException
IOException
protected abstract void appendLine(CharSequence line) throws IOException
line
- IOException
protected void close()
Copyright © 2010–2015. All rights reserved.