|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLParser
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 14-Nov-2006
| Method Summary | |
|---|---|
OWLOntologyFormat |
parse(OWLOntologyInputSource inputSource,
OWLOntology ontology)
Parses the ontology that has a concrete representation which is pointed to by the specified input source. |
OWLOntologyFormat |
parse(java.net.URI physicalURI,
OWLOntology ontology)
Parses the ontology that has a concrete representation which is pointed to by the specified physical URI. |
void |
setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
Sets the OWLOntologyManager which should be used to load
imports etc. |
| Method Detail |
|---|
void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
OWLOntologyManager which should be used to load
imports etc.
owlOntologyManager -
OWLOntologyFormat parse(java.net.URI physicalURI,
OWLOntology ontology)
throws OWLOntologyCreationException
physicalURI - ontology - The ontology that the concrete representation should be
parsed into.
OWLOntologyFormat which describes the concrete representation
format which was parsed to obtain the ontology. This will never be null.
OWLParserException - if there was a problem parsing the ontology.
OWLOntologyCreationException
OWLOntologyFormat parse(OWLOntologyInputSource inputSource,
OWLOntology ontology)
throws OWLOntologyCreationException
inputSource - 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 physical URI.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
OWLOntologyCreationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||