274275276277278279280
throw new LumifyException("Could not find ontology with iri " + documentIRI); } Writer fileWriter = new OutputStreamWriter(out); new RDFXMLRenderer(o, fileWriter).render(); }
5354555657585960
} } public void endRendering() throws IOException { OWLOntology ontology = OWL.Ontology( axioms ); RDFXMLRenderer renderer = new RDFXMLRenderer(OntologyUtils.getOWLOntologyManager(), ontology, writer); renderer.render(); }