protected void writeNaryKeyword(final Keyword theKeyword, Stream<? extends OWLObject> theObjects) { final Iterator<? extends OWLObject> aIter = theObjects.sorted().iterator(); // write( "(" ); if (_smartIndent) _writer.startBlock(); write(aIter.next()); while (aIter.hasNext()) { if (_wrapLines) writeNewLine(); else writeSpace(); if (theKeyword != null) { write(theKeyword); writeSpace(); } write(aIter.next()); } if (_smartIndent) _writer.endBlock(); // write( ")" ); }
protected void writeNaryKeyword(final Keyword theKeyword, Stream<? extends OWLObject> theObjects) { final Iterator<? extends OWLObject> aIter = theObjects.sorted().iterator(); // write( "(" ); if (_smartIndent) _writer.startBlock(); write(aIter.next()); while (aIter.hasNext()) { if (_wrapLines) writeNewLine(); else writeSpace(); if (theKeyword != null) { write(theKeyword); writeSpace(); } write(aIter.next()); } if (_smartIndent) _writer.endBlock(); // write( ")" ); }
protected void writeNaryKeyword(final Keyword theKeyword, Stream<? extends OWLObject> theObjects) { final Iterator<? extends OWLObject> aIter = theObjects.sorted().iterator(); // write( "(" ); if (_smartIndent) _writer.startBlock(); write(aIter.next()); while (aIter.hasNext()) { if (_wrapLines) writeNewLine(); else writeSpace(); if (theKeyword != null) { write(theKeyword); writeSpace(); } write(aIter.next()); } if (_smartIndent) _writer.endBlock(); // write( ")" ); }
protected void renderSingleExplanation(final Set<OWLAxiom> explanation) { _writer.printSpace(); _writer.printSpace(); _writer.printSpace(); _writer.startBlock(); for (final OWLAxiom a : explanation) { a.accept(_renderer); _writer.println(); } _writer.endBlock(); _writer.println(); }
protected void renderSingleExplanation(final Set<OWLAxiom> explanation) { _writer.printSpace(); _writer.printSpace(); _writer.printSpace(); _writer.startBlock(); for (final OWLAxiom a : explanation) { a.accept(_renderer); _writer.println(); } _writer.endBlock(); _writer.println(); }
protected void renderSingleExplanation(final Set<OWLAxiom> explanation) { _writer.printSpace(); _writer.printSpace(); _writer.printSpace(); _writer.startBlock(); for (final OWLAxiom a : explanation) { a.accept(_renderer); _writer.println(); } _writer.endBlock(); _writer.println(); }