protected void endDocument() { writer.flush(); writer.println(); writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); writer.flush(); }
@Override protected void endDocument() { writer.flush(); writer.println(); writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); writer.flush(); }
@Override protected void endDocument() { writer.flush(); writer.println(); writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (format instanceof RDFOntologyFormat && !((RDFOntologyFormat) format).isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writeComment("Warning: type declarations were not added automatically."); } writer.flush(); }
@Override protected void endDocument() { writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writeComment("Warning: type declarations were not added automatically."); } writer.flush(); pending.clear(); }
@Override protected void endDocument() { writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writeComment("Warning: type declarations were not added automatically."); } writer.flush(); pending.clear(); }
@Override protected void endDocument() { writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writeComment("Warning: type declarations were not added automatically."); } writer.flush(); pending.clear(); }
@Override protected void endDocument() { writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writeComment("Warning: type declarations were not added automatically."); } writer.flush(); pending.clear(); }
/** * End document. */ public void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); }
/** * End document. */ public void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); }
/** * End document. */ public void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); }
protected void endDocument() throws IOException { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); }
/** * End document. */ public void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); }
@Override protected void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writer.writeComment("Warning: type declarations were not added automatically."); } pending.clear(); }
@Override protected void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writer.writeComment("Warning: type declarations were not added automatically."); } pending.clear(); }
@Override protected void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writer.writeComment("Warning: type declarations were not added automatically."); } pending.clear(); }
@Override protected void endDocument() { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (!format.isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writer.writeComment("Warning: type declarations were not added automatically."); } pending.clear(); }
public void endDocument() { try { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
public void endDocument() { try { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
protected void initialise(){ logger.info("Using OWL API version " + VersionInfo.getVersionInfo().getVersion()); this.newPhysicalURIs = new HashSet<URI>(); modelManager = new OWLModelManagerImpl(); modelManager.setExplanationManager(new ExplanationManager(this)); modelManager.setMissingImportHandler(new MissingImportHandlerUI(this)); modelManager.setSaveErrorHandler(new SaveErrorHandler(){ public void handleErrorSavingOntology(OWLOntology ont, URI physicalURIForOntology, OWLOntologyStorageException e) throws Exception { handleSaveError(ont, physicalURIForOntology, e); } }); loadErrorHandler = new OntologyLoadErrorHandlerUI(this); modelManager.setLoadErrorHandler(loadErrorHandler); loadIOListenerPlugins(); registration = ProtegeOWL.getBundleContext().registerService(EditorKit.class.getCanonicalName(), this, new Properties()); }
@Override protected void endDocument() throws IOException { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo().getGeneratedByMessage()); if (format instanceof RDFOntologyFormat && !((RDFOntologyFormat) format).isAddMissingTypes()) { // missing type declarations could have been omitted, adding a // comment to document it writer.writeComment("Warning: type declarations were not added automatically."); } }