public class OWLXMLRenderer extends AbstractOWLRenderer
Constructor and Description |
---|
OWLXMLRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(OWLOntology ontology,
PrintWriter writer)
Renders the specified ontology using the specified writer.
|
static void |
render(OWLOntology ontology,
PrintWriter writer,
OWLDocumentFormat format) |
render
public static void render(OWLOntology ontology, PrintWriter writer, OWLDocumentFormat format) throws OWLRendererException
ontology
- ontologywriter
- writerformat
- formatOWLRendererException
- renderer errorpublic void render(OWLOntology ontology, PrintWriter writer) throws OWLRendererException
AbstractOWLRenderer
render
in class AbstractOWLRenderer
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.