|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.io.AbstractOWLParser org.coode.owlapi.rdfxml.parser.RDFXMLParser
public class RDFXMLParser
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 08-Dec-2006
Constructor Summary | |
---|---|
RDFXMLParser()
|
Method Summary | |
---|---|
OWLOntologyFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology)
Parses the ontology that has a concrete representation which is pointed to by the specified input source. |
void |
setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
Sets the OWLOntologyManager which should be used to load
imports etc. |
Methods inherited from class org.semanticweb.owlapi.io.AbstractOWLParser |
---|
getInputSource, getInputStream, getOWLOntologyManager, getRequestTypes, parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDFXMLParser()
Method Detail |
---|
public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, java.io.IOException, UnloadableImportException
OWLParser
documentSource
- 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 into
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 parsing
UnloadableImportException
- if loading this ontology prompted the loading of an import and the import
could not be loaded.public void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
OWLParser
OWLOntologyManager
which should be used to load
imports etc.
setOWLOntologyManager
in interface OWLParser
setOWLOntologyManager
in class AbstractOWLParser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |