KRSS2ObjectRenderer ren = new KRSS2ObjectRenderer(getOWLOntologyManager(), ontology, writer);
ontology.accept(ren);
writer.flush();
}
catch (IOException io) {
throw new OWLRendererIOException(io);
}
catch (OWLRuntimeException e) {
throw new OWLRendererException(e);
}
}