public abstract class AbstractOWLRenderer extends java.lang.Object implements OWLRenderer
Modifier | Constructor and Description |
---|---|
protected |
AbstractOWLRenderer() |
protected |
AbstractOWLRenderer(OWLOntologyManager owlOntologyManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OWLOntologyManager |
getOWLOntologyManager()
Deprecated.
|
void |
render(OWLOntology ontology,
java.io.OutputStream os)
Renders the specified ontology to a concrete representation which should
be written to the specified output stream
|
abstract void |
render(OWLOntology ontology,
java.io.Writer writer)
Renders the specified ontology using the specified writer.
|
void |
setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
Deprecated.
|
@Deprecated protected AbstractOWLRenderer(OWLOntologyManager owlOntologyManager)
protected AbstractOWLRenderer()
@Deprecated public void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
setOWLOntologyManager
in interface OWLRenderer
@Deprecated protected OWLOntologyManager getOWLOntologyManager()
public void render(OWLOntology ontology, java.io.OutputStream os) throws OWLRendererException
OWLRenderer
render
in interface OWLRenderer
ontology
- The ontologyos
- The OutputStreamOWLRendererException
public abstract void render(OWLOntology ontology, java.io.Writer writer) throws OWLRendererException
ontology
- the ontology to renderwriter
- The writer that should be used to write the ontology.
Note that this writer need not be wrapped with a BufferedWriter
because this is taken care of by this abstract implementation.OWLRendererException
- if exceptions arise