org.semanticweb.owlapi.util
Class AbstractOWLOntologyStorer
java.lang.Object
org.semanticweb.owlapi.util.AbstractOWLOntologyStorer
- All Implemented Interfaces:
- OWLOntologyStorer
- Direct Known Subclasses:
- DLSyntaxOntologyStorerBase, KRSS2OWLSyntaxOntologyStorer, KRSS2SyntaxOntologyStorer, KRSSSyntaxOntologyStorer, LatexOntologyStorer, ManchesterOWLSyntaxOntologyStorer, OBOFlatFileOntologyStorer, OWLFunctionalSyntaxOntologyStorer, OWLXMLOntologyStorer, RDFXMLOntologyStorer, TurtleOntologyStorer
public abstract class AbstractOWLOntologyStorer
- extends java.lang.Object
- implements OWLOntologyStorer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 04-Dec-2007
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOWLOntologyStorer
public AbstractOWLOntologyStorer()
storeOntology
public void storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
IRI documentIRI,
OWLOntologyFormat ontologyFormat)
throws OWLOntologyStorageException
- Description copied from interface:
OWLOntologyStorer
- Stores an ontology to the specified ontology document IRI in the specified format
- Specified by:
storeOntology
in interface OWLOntologyStorer
- Parameters:
manager
- The managerontology
- The ontology to be storeddocumentIRI
- The ontology document IRI where the ontology will be saved toontologyFormat
- The format that the ontology should be stored in @throws OWLOntologyStorageException if there was a problem storing the ontology.
- Throws:
OWLOntologyStorageException
- if there was a problem storing the ontology
storeOntology
public void storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
OWLOntologyDocumentTarget target,
OWLOntologyFormat format)
throws OWLOntologyStorageException
- Description copied from interface:
OWLOntologyStorer
- Stores an ontology to the specified target. This method assumes the storer can write the
ontology to some stream.
- Specified by:
storeOntology
in interface OWLOntologyStorer
- Parameters:
manager
- The managerontology
- The ontology to be storedtarget
- The target which describes the ontology document where the ontology should be storedformat
- The format in which to store the ontology
- Throws:
OWLOntologyStorageException
- if there was a problem storing the ontology.
storeOntology
protected abstract void storeOntology(OWLOntologyManager manager,
OWLOntology ontology,
java.io.Writer writer,
OWLOntologyFormat format)
throws OWLOntologyStorageException
- Throws:
OWLOntologyStorageException