@Override
protected void storeOntology(@Nonnull OWLOntology ontology,
@Nonnull Writer writer, OWLDocumentFormat format)
throws OWLOntologyStorageException {
try {
FunctionalSyntaxObjectRenderer renderer = new FunctionalSyntaxObjectRenderer(
ontology, writer);
renderer.setPrefixManager(new LabelPrefixManager(ontology));
ontology.accept(renderer);
writer.flush();
} catch (IOException e) {
throw new OWLOntologyStorageException(e);
}