public class KRSSOWLParser extends AbstractOWLParser
| Constructor and Description |
|---|
KRSSOWLParser() |
| Modifier and Type | Method and Description |
|---|---|
OWLOntologyFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology)
Parses the ontology that has a concrete representation which is pointed to
by the specified input source.
|
OWLOntologyFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration)
Parses the ontology that has a concrete representation which is pointed to
by the specified input source.
|
getInputSource, getInputStream, getOWLOntologyManager, getRequestTypes, parse, setOWLOntologyManagerpublic OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, java.io.IOException, OWLOntologyChangeException, UnloadableImportException
OWLParserdocumentSource - The input source which points the concrete representation. If
the input source can provide a Reader then the ontology is parsed
from the Reader. If the input source cannot provide a reader then
it is parsed from the InputStream. If the input source cannot provide
an InputStream then it is parsed from the ontology document IRI.ontology - The ontology which the representation will be parsed intoOWLOntologyFormat which describes the concrete representation
format which was parsed to obtain the ontology.OWLParserException - if there was a problem parsing the ontology. This indicates an error in the syntax
with this ontology document that the parser reads.java.io.IOException - if there was an IOException during parsingOWLOntologyChangeException - if there was a problem updating the specified ontology from information
that was parsed.UnloadableImportException - if loading this ontology prompted the loading of an import and the import
could not be loaded.public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) throws OWLParserException, java.io.IOException, OWLOntologyChangeException, UnloadableImportException
OWLParserdocumentSource - The input source which points the concrete representation. If
the input source can provider a Reader then the ontology is parsed
from the Reader. If the input source cannot provide a reader then
it is parsed from the InputStream. If the input source cannot provide
an InputStream then it is parsed from the ontology document IRI.ontology - The ontology which the representation will be parsed intoconfiguration - A configuration object that provides various generic options to the parser.OWLOntologyFormat which describes the concrete representation
format which was parsed to obtain the ontology.OWLParserException - if there was a problem parsing the ontology. This indicates an error in the syntax
with this ontology document that the parser reads.java.io.IOException - if there was an IOException during parsingOWLOntologyChangeException - if there was a problem updating the specified ontology from information
that was parsed.UnloadableImportException - if loading this ontology prompted the loading of an import and the import
could not be loaded.