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, OBOFlatFileRenderer, OWLFunctionalSyntaxRenderer, OWLXMLRenderer
public abstract class AbstractOWLRenderer
- extends java.lang.Object
- implements OWLRenderer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 14-Nov-2006
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOWLRenderer
protected AbstractOWLRenderer(OWLOntologyManager owlOntologyManager)
setOWLOntologyManager
public void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
- Specified by:
setOWLOntologyManager
in interface OWLRenderer
getOWLOntologyManager
protected OWLOntologyManager getOWLOntologyManager()
render
public void render(OWLOntology ontology,
java.io.OutputStream os)
throws OWLRendererException
- 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 interface OWLRenderer
- Parameters:
ontology
- The ontologyos
- The OutputStream
- Throws:
OWLRendererException
render
public abstract void render(OWLOntology ontology,
java.io.Writer writer)
throws OWLRendererException
- Renders the specified ontology using the specified writer.
- Parameters:
writer
- 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.
- Throws:
OWLRendererException