|
|||||||||
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.owlxmlparser.OWLXMLParser
public class OWLXMLParser
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Dec-2006
Constructor Summary | |
---|---|
OWLXMLParser()
|
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. |
Methods inherited from class org.semanticweb.owlapi.io.AbstractOWLParser |
---|
getInputSource, getInputStream, getOWLOntologyManager, getRequestTypes, parse, setOWLOntologyManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWLXMLParser()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |