public class TurtleRenderer extends RDFRendererBase
Constructor and Description |
---|
TurtleRenderer(OWLOntology ontology,
Writer writer,
OWLDocumentFormat format) |
Modifier and Type | Method and Description |
---|---|
void |
render(RDFResource node,
boolean root)
Renders the triples in the current graph into a concrete format.
|
isNotAnonymousExpression, render, renderAnonRoots
public TurtleRenderer(@Nonnull OWLOntology ontology, Writer writer, OWLDocumentFormat format)
ontology
- ontologywriter
- writerformat
- formatpublic void render(@Nonnull RDFResource node, boolean root) throws IOException
RDFRendererBase
render
in class RDFRendererBase
node
- The main node to be renderedroot
- true if rootIOException
- if there was a problem writing to the output streamCopyright © 2020 The University of Manchester. All rights reserved.