public abstract class AbstractOWLRenderer extends Object implements OWLRenderer
Modifier and Type | Method and Description |
---|---|
void |
render(OWLOntology ontology,
OutputStream os)
Renders the specified ontology to a concrete representation which should be written to the
specified output stream.
|
abstract void |
render(OWLOntology ontology,
Writer writer)
Renders the specified ontology using the specified writer.
|
public void render(OWLOntology ontology, @Nonnull OutputStream os) throws OWLRendererException
OWLRenderer
render
in interface OWLRenderer
ontology
- the ontologyos
- the output streamOWLRendererException
public abstract void render(@Nonnull OWLOntology ontology, @Nonnull 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 ariseCopyright © 2020 The University of Manchester. All rights reserved.