RDFXMLRenderer
, TurtleRenderer
public abstract class RDFRendererBase extends Object
Constructor | Description |
---|---|
RDFRendererBase(org.semanticweb.owlapi.model.OWLOntology ontology) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isNotAnonymousExpression(org.semanticweb.owlapi.model.OWLObject o) |
|
void |
render() |
|
abstract void |
render(org.semanticweb.owlapi.io.RDFResource node,
boolean root) |
Renders the triples in the current graph into a concrete format.
|
void |
renderAnonRoots() |
public RDFRendererBase(@Nonnull org.semanticweb.owlapi.model.OWLOntology ontology)
ontology
- ontologypublic void render() throws IOException
IOException
- io errorpublic static boolean isNotAnonymousExpression(org.semanticweb.owlapi.model.OWLObject o)
o
- expression to checkpublic void renderAnonRoots() throws IOException
IOException
- io errorpublic abstract void render(@Nonnull org.semanticweb.owlapi.io.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.