RDFXMLRenderer
, TurtleRenderer
public abstract class RDFRendererBase extends Object
Constructor | Description |
---|---|
RDFRendererBase(OWLOntology ontology) |
Modifier and Type | Method | 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
- io errorpublic static boolean isNotAnonymousExpression(OWLObject o)
o
- expression to checkpublic void renderAnonRoots() throws IOException
IOException
- io errorpublic 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 rendering the triples.Copyright © 2018 The University of Manchester. All rights reserved.