@Override public void render(OWLOntology ontology, OutputStream os) throws OWLOntologyStorageException { render(ontology, new OutputStreamWriter(os), ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, OutputStream os) throws OWLOntologyStorageException { render(ontology, new OutputStreamWriter(os), ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, OutputStream os) throws OWLOntologyStorageException { render(ontology, new OutputStreamWriter(os), ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, OutputStream os) throws OWLOntologyStorageException { render(ontology, new OutputStreamWriter(os), ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, PrintWriter writer) throws OWLRendererException { checkNotNull(ontology, "ontology cannot be null"); checkNotNull(writer, "writer cannot be null"); render(ontology, writer, ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, PrintWriter writer) throws OWLRendererException { checkNotNull(ontology, "ontology cannot be null"); checkNotNull(writer, "writer cannot be null"); render(ontology, writer, ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, PrintWriter writer) throws OWLRendererException { checkNotNull(ontology, "ontology cannot be null"); checkNotNull(writer, "writer cannot be null"); render(ontology, writer, ontology.getNonnullFormat()); } }
@Override public void render(OWLOntology ontology, PrintWriter writer) throws OWLRendererException { checkNotNull(ontology, "ontology cannot be null"); checkNotNull(writer, "writer cannot be null"); render(ontology, writer, ontology.getNonnullFormat()); } }
/** * Resets the short form provider and adds prefix name to prefix mappings * based on the specified ontology's format (if it is a prefix format) and * possibly the ontologies in the imports closure. * * @param ontology The ontology whose format will be used to obtain prefix mappings * @param processImportedOntologies Specifies whether or not the prefix mapping should be * obtained from imported ontologies. */ public void setPrefixesFromOntologyFormat(OWLOntology ontology, boolean processImportedOntologies) { resetShortFormProvider(); Imports.fromBoolean(processImportedOntologies).stream(ontology).forEach(o -> copyPrefixes(o .getNonnullFormat())); }
/** * Resets the short form provider and adds prefix name to prefix mappings * based on the specified ontology's format (if it is a prefix format) and * possibly the ontologies in the imports closure. * * @param ontology The ontology whose format will be used to obtain prefix mappings * @param processImportedOntologies Specifies whether or not the prefix mapping should be * obtained from imported ontologies. */ public void setPrefixesFromOntologyFormat(OWLOntology ontology, boolean processImportedOntologies) { resetShortFormProvider(); Imports.fromBoolean(processImportedOntologies).stream(ontology).forEach(o -> copyPrefixes(o .getNonnullFormat())); }
/** * Resets the short form provider and adds prefix name to prefix mappings * based on the specified ontology's format (if it is a prefix format) and * possibly the ontologies in the imports closure. * * @param ontology The ontology whose format will be used to obtain prefix mappings * @param processImportedOntologies Specifies whether or not the prefix mapping should be * obtained from imported ontologies. */ public void setPrefixesFromOntologyFormat(OWLOntology ontology, boolean processImportedOntologies) { resetShortFormProvider(); Imports.fromBoolean(processImportedOntologies).stream(ontology).forEach(o -> copyPrefixes(o .getNonnullFormat())); }
OWLDocumentFormat format = ontology.getNonnullFormat(); boolean addMissing = format.isAddMissingTypes(); if (addMissing) {
OWLDocumentFormat format = ontology.getNonnullFormat(); boolean addMissing = format.isAddMissingTypes(); if (addMissing) {
OWLDocumentFormat format = ontology.getNonnullFormat(); boolean addMissing = format.isAddMissingTypes(); if (addMissing) {
OWLDocumentFormat format = ontology.getNonnullFormat(); boolean addMissing = format.isAddMissingTypes(); if (addMissing) {
defaultPrefixManager = new DefaultPrefixManager(); prefixManager = defaultPrefixManager; OWLDocumentFormat ontologyFormat = ontology.getNonnullFormat();
defaultPrefixManager = new DefaultPrefixManager(); prefixManager = defaultPrefixManager; OWLDocumentFormat ontologyFormat = ontology.getNonnullFormat();
defaultPrefixManager = new DefaultPrefixManager(); prefixManager = defaultPrefixManager; OWLDocumentFormat ontologyFormat = ontology.getNonnullFormat();
defaultPrefixManager = new DefaultPrefixManager(); prefixManager = defaultPrefixManager; OWLDocumentFormat ontologyFormat = ontology.getNonnullFormat();