292293294295296297298299
writeCloseBracket(); } try { writer.flush(); } catch (IOException io) { throw new OWLRuntimeException(io); } }
504505506507508509510511
axiom.accept(this); } try { writer.flush(); } catch (IOException io) { throw new OWLRuntimeException(io); } }
3031323334353637
public class SystemOutDocumentTarget implements OWLOntologyDocumentTarget { @Nonnull @Override public IRI getDocumentIRI() { throw new OWLRuntimeException( "IRI not available. getDocumentIRI() should not be called if isDocumentIRIAvailable() returns false."); }
6263646566676869
return true; } @Override public Writer getWriter() { throw new OWLRuntimeException( "Writer not available. getWriter() should not be called if isWriterAvailable() returns false."); }
169170171172173174175176
try { writer.endDocument(); writer.writeComment(VersionInfo.getVersionInfo() .getGeneratedByMessage()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
181182183184185186187188
*/ public void writeStartElement(OWLXMLVocabulary name) { try { writer.writeStartElement(name.getIRI()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
190191192193194195196197
/** write end element */ public void writeEndElement() { try { writer.writeEndElement(); } catch (IOException e) { throw new OWLRuntimeException(e); } }
206207208209210211212213
public void writeDatatypeAttribute(OWLDatatype datatype) { try { writer.writeAttribute(DATATYPE_IRI.getIRI(), datatype.getIRI() .toString()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
218219220221222223224225
*/ public void writeNodeIDAttribute(NodeID nodeID) { try { writer.writeAttribute(NODE_ID.getIRI(), nodeID.getID()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
242243244245246247248249
} else { writer.writeAttribute(attName, val); } } } catch (IOException e) { throw new OWLRuntimeException(e); } }