Package org.semanticweb.owlapi.rio
Class RioStorer
java.lang.Object
org.semanticweb.owlapi.util.AbstractOWLStorer
org.semanticweb.owlapi.rio.RioStorer
- All Implemented Interfaces:
Serializable,org.semanticweb.owlapi.model.OWLStorer
public class RioStorer
extends org.semanticweb.owlapi.util.AbstractOWLStorer
An implementation of
OWLStorer that writes statements to Sesame RDFHandlers,
including RDFWriter implementations based on the given
RioRDFDocumentFormatFactory.- Since:
- 4.0.0
- Author:
- Peter Ansell p_ansell@yahoo.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRioStorer(org.semanticweb.owlapi.model.OWLDocumentFormatFactory ontologyFormat, org.eclipse.rdf4j.model.Resource... contexts) RioStorer(org.semanticweb.owlapi.model.OWLDocumentFormatFactory ontologyFormat, org.eclipse.rdf4j.rio.RDFHandler rioHandler, org.eclipse.rdf4j.model.Resource... contexts) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStoreOntology(org.semanticweb.owlapi.model.OWLDocumentFormat ontologyFormat) org.eclipse.rdf4j.rio.RDFHandlervoidsetRioHandler(org.eclipse.rdf4j.rio.RDFHandler rioHandler) Methods inherited from class org.semanticweb.owlapi.util.AbstractOWLStorer
storeOntology, storeOntology
-
Constructor Details
-
RioStorer
public RioStorer(org.semanticweb.owlapi.model.OWLDocumentFormatFactory ontologyFormat, org.eclipse.rdf4j.rio.RDFHandler rioHandler, org.eclipse.rdf4j.model.Resource... contexts) - Parameters:
ontologyFormat- formatrioHandler- RDF handlercontexts- contexts
-
RioStorer
public RioStorer(org.semanticweb.owlapi.model.OWLDocumentFormatFactory ontologyFormat, org.eclipse.rdf4j.model.Resource... contexts) - Parameters:
ontologyFormat- formatcontexts- contexts
-
-
Method Details
-
canStoreOntology
public boolean canStoreOntology(org.semanticweb.owlapi.model.OWLDocumentFormat ontologyFormat) -
getRioHandler
- Returns:
- the RDF handler
-
setRioHandler
public void setRioHandler(org.eclipse.rdf4j.rio.RDFHandler rioHandler) - Parameters:
rioHandler- the RDF handler to set
-