273274275276277278279280
writer.writeTextContent(val); writeEndElement(); } } } catch (IOException e) { throw new OWLRuntimeException(e); } }
292293294295296297298299
*/ public void writeLangAttribute(@Nonnull String lang) { try { writer.writeAttribute(LANG_IRI, lang); } catch (IOException e) { throw new OWLRuntimeException(e); } }
305306307308309310311312
public void writeCardinalityAttribute(int cardinality) { try { writer.writeAttribute(CARDINALITY_ATTRIBUTE.getIRI(), Integer.toString(cardinality)); } catch (IOException e) { throw new OWLRuntimeException(e); } }
8485868788899091
bos.write(tempBuffer, 0, read); } } while (read > 0); buffer = bos.toByteArray(); } catch (IOException e) { throw new OWLRuntimeException(e); } }
317318319320321322323324
*/ public void writeTextContent(@Nonnull String text) { try { writer.writeTextContent(text); } catch (IOException e) { throw new OWLRuntimeException(e); } }
330331332333334335336337
public void writeFacetAttribute(OWLFacet facet) { try { writer.writeAttribute(DATATYPE_FACET.getIRI(), facet.getIRI() .toString()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
342343344345346347348349
*/ public void writeAnnotationURIAttribute(URI uri) { try { writer.writeAttribute(ANNOTATION_URI.getIRI(), uri.toString()); } catch (IOException e) { throw new OWLRuntimeException(e); } }
122123124125126127128129
} while (read > 0); out.finish(); out.flush(); byteBuffer = bos.toByteArray(); } catch (IOException e) { throw new OWLRuntimeException(e); } }
145146147148149150151152
writer.flush(); out.finish(); out.flush(); byteBuffer = bos.toByteArray(); } catch (IOException e) { throw new OWLRuntimeException(e); } }
5657585960616263
} @Nonnull @Override public OutputStream getOutputStream() { throw new OWLRuntimeException( "OutputStream not available. getOutputStream() should not be called if isOutputStreamAvailable() returns false."); }