public abstract class RDFRendererBase extends Object
Constructor and Description |
---|
RDFRendererBase(OWLOntology ontology) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNotAnonymousExpression(OWLObject o) |
void |
render() |
abstract void |
render(RDFResource node,
boolean root)
Renders the triples in the current graph into a concrete format.
|
void |
renderAnonRoots() |
public RDFRendererBase(@Nonnull OWLOntology ontology)
ontology
- ontologypublic void render() throws IOException
IOException
- if there was a problem writing to the output streampublic static boolean isNotAnonymousExpression(OWLObject o)
o
- expression to checkpublic void renderAnonRoots() throws IOException
IOException
- if there was a problem writing to the output streampublic abstract void render(@Nonnull RDFResource node, boolean root) throws IOException
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.