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,
PrintWriter writer)
Renders the specified ontology using the specified writer.
|
public void render(OWLOntology ontology, OutputStream os) throws OWLRendererException
OWLRendererrender in interface OWLRendererontology - The ontologyos - The OutputStreamOWLRendererExceptionpublic abstract void render(OWLOntology ontology, PrintWriter 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 © 2017 The University of Manchester. All Rights Reserved.