Class OWLXMLRenderer
java.lang.Object
org.semanticweb.owlapi.io.AbstractOWLRenderer
org.semanticweb.owlapi.owlxml.renderer.OWLXMLRenderer
- All Implemented Interfaces:
OWLRenderer
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(OWLOntology ontology, PrintWriter writer) Renders the specified ontology using the specified writer.static void
render
(OWLOntology ontology, PrintWriter writer, OWLDocumentFormat format) Methods inherited from class org.semanticweb.owlapi.io.AbstractOWLRenderer
render
-
Constructor Details
-
OWLXMLRenderer
public OWLXMLRenderer()
-
-
Method Details
-
render
public static void render(OWLOntology ontology, PrintWriter writer, OWLDocumentFormat format) throws OWLRendererException - Parameters:
ontology
- ontologywriter
- writerformat
- format- Throws:
OWLRendererException
- renderer error
-
render
Description copied from class:AbstractOWLRenderer
Renders the specified ontology using the specified writer.- Specified by:
render
in classAbstractOWLRenderer
- 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
-