Package org.semanticweb.owlapi.io
Class AbstractOWLRenderer
java.lang.Object
org.semanticweb.owlapi.io.AbstractOWLRenderer
- All Implemented Interfaces:
OWLRenderer
- Direct Known Subclasses:
KRSS2OWLSyntaxRenderer
,KRSS2SyntaxRenderer
,KRSSSyntaxRenderer
,LatexRenderer
,ManchesterOWLSyntaxRenderer
,OWLFunctionalSyntaxRenderer
,OWLXMLRenderer
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
render
Description copied from interface:OWLRenderer
Renders the specified ontology to a concrete representation which should be written to the specified output stream.- Specified by:
render
in interfaceOWLRenderer
- Parameters:
ontology
- the ontologyos
- the output stream- Throws:
OWLRendererException
-
render
Renders the specified ontology using the specified writer.- Parameters:
ontology
- the ontology to renderwriter
- The writer that should be used to write the ontology. Note that this writer need not be wrapped with aBufferedWriter
because this is taken care of by this abstract implementation.- Throws:
OWLRendererException
- if exceptions arise
-