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(); }
protected Set<OWLAnnotation> makeSingletonDisjoinClassWarningAnnotation( Collection<OWLAnnotation> annotations, OWLClassExpression classExpression, OWLClassExpression addedClass) { Set<OWLAnnotation> modifiedAnnotations = new HashSet<>(annotations.size() + 1); modifiedAnnotations.addAll(annotations); String provenanceComment = String.format("%s on %s", VersionInfo.getVersionInfo().getGeneratedByMessage(), new SimpleDateFormat().format(new Date())); OWLAnnotation provenanceAnnotation = getOWLAnnotation(RDFS_COMMENT, getOWLLiteral(provenanceComment)); Set<OWLAnnotation> metaAnnotations = Collections.singleton(provenanceAnnotation); String changeComment = String.format(DISJOINT_CLASSES_REPLACED, classExpression, classExpression, addedClass); modifiedAnnotations .add(getOWLAnnotation(RDFS_COMMENT, getOWLLiteral(changeComment), metaAnnotations)); return modifiedAnnotations; }
@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); } }
@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."); } }