public class OBOFlatFileRenderer extends AbstractOWLRenderer implements OBOExceptionHandler
Modifier | Constructor and Description |
---|---|
protected |
OBOFlatFileRenderer() |
protected |
OBOFlatFileRenderer(OWLOntologyManager owlOntologyManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addException(OBOStorageException exception) |
java.util.List<OBOStorageException> |
getExceptions() |
void |
render(OWLOntology ontology,
java.io.Writer writer)
Renders the specified ontology using the specified writer.
|
getOWLOntologyManager, render, setOWLOntologyManager
@Deprecated protected OBOFlatFileRenderer(OWLOntologyManager owlOntologyManager)
protected OBOFlatFileRenderer()
public void render(OWLOntology ontology, java.io.Writer 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 arisepublic void addException(OBOStorageException exception)
addException
in interface OBOExceptionHandler
public java.util.List<OBOStorageException> getExceptions()
getExceptions
in interface OBOExceptionHandler