|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.coode.owlapi.obo.parser.OBOConsumer
public class OBOConsumer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 10-Jan-2007
| Constructor Summary | |
|---|---|
OBOConsumer(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.IRI baseIRI)
|
|
OBOConsumer(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.IRI baseIRI)
|
|
| Method Summary | |
|---|---|
void |
addIntersectionOfOperand(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
void |
addSymbolicIdMapping(String symbolicName,
org.semanticweb.owlapi.model.IRI fullIRI)
|
void |
addUnionOfOperand(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
void |
endFrame()
|
void |
endHeader()
|
org.semanticweb.owlapi.model.OWLClass |
getCurrentClass()
|
org.semanticweb.owlapi.model.OWLEntity |
getCurrentEntity()
|
String |
getCurrentId()
|
String |
getDefaultNamespaceTagValue()
Gets the default-namespace tag value for the current ontology. |
IDSpaceManager |
getIdSpaceManager()
Gets a COPY of the IDSpaceManager held by this OBOConsumer. |
org.semanticweb.owlapi.model.IRI |
getIRIFromOBOId(String oboId)
Gets an IRI from an OBO ID. |
org.semanticweb.owlapi.model.IRI |
getIRIFromTagName(String tagName)
Gets an IRI from a tag name. |
org.semanticweb.owlapi.model.OWLOntology |
getOntology()
|
org.semanticweb.owlapi.model.OWLOntologyManager |
getOWLOntologyManager()
|
org.semanticweb.owlapi.model.IRI |
getRelationIRIFromSymbolicIdOrOBOId(String symbolicIdOrOBOId)
|
String |
getStanzaType()
|
void |
handleTagValue(String tag,
String value,
String qualifierBlock,
String comment)
|
boolean |
isInstanceType()
|
boolean |
isTerm()
|
boolean |
isTypedef()
|
org.semanticweb.owlapi.model.OWLAnnotation |
parseXRef(String xref)
|
void |
registerIdSpace(String idSpacePrefix,
String iriPrefix)
|
void |
setCurrentId(String currentId)
|
void |
setDataVersionTagValue(String dataVersionTagValue)
Sets the value of the data-version tag for the current ontology that is being parsed. |
void |
setDefaultNamespaceTagValue(String defaultNamespaceTagValue)
Sets the value of the default-namespace tag for the current ontology being parsed. |
void |
setOntologyTagValue(String ontologyTagValue)
Sets the value of the ontology tag for the current ontology that is being parsed. |
void |
startFrame(String name)
|
void |
startHeader()
|
String |
unescapeTagValue(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OBOConsumer(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.IRI baseIRI)
public OBOConsumer(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration configuration,
org.semanticweb.owlapi.model.IRI baseIRI)
| Method Detail |
|---|
public org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
public org.semanticweb.owlapi.model.OWLOntology getOntology()
public String getCurrentId()
public void addSymbolicIdMapping(String symbolicName,
org.semanticweb.owlapi.model.IRI fullIRI)
public void setDefaultNamespaceTagValue(String defaultNamespaceTagValue)
defaultNamespaceTagValue - The value of the default-namespace tag.public String getDefaultNamespaceTagValue()
OBOVocabulary.OBO_IRI_BASE.
null.public void setOntologyTagValue(String ontologyTagValue)
OWLOntologyID for the current ontology once the ontology header has
been parsed in its entirety.
ontologyTagValue - The ontology tag value. Ultimately, this will be translated to an IRI.public void setDataVersionTagValue(String dataVersionTagValue)
OWLOntologyID for the current ontology once the ontology header has
been parsed in its entirety.
dataVersionTagValue - The data-version tag value. Ultimately, this will be translated to an IRI.
public void registerIdSpace(String idSpacePrefix,
String iriPrefix)
public IDSpaceManager getIdSpaceManager()
IDSpaceManager held by this OBOConsumer.
public void setCurrentId(String currentId)
public void addUnionOfOperand(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
public void addIntersectionOfOperand(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
public String getStanzaType()
public boolean isTerm()
public boolean isTypedef()
public boolean isInstanceType()
public void startHeader()
startHeader in interface OBOParserHandlerpublic void endHeader()
endHeader in interface OBOParserHandlerpublic void startFrame(String name)
startFrame in interface OBOParserHandlerpublic void endFrame()
endFrame in interface OBOParserHandler
public void handleTagValue(String tag,
String value,
String qualifierBlock,
String comment)
handleTagValue in interface OBOParserHandlerpublic String unescapeTagValue(String value)
public org.semanticweb.owlapi.model.OWLClass getCurrentClass()
public org.semanticweb.owlapi.model.OWLEntity getCurrentEntity()
public org.semanticweb.owlapi.model.IRI getIRIFromTagName(String tagName)
tagName - The tag name.
OBOVocabulary enum.
Not null.
NullPointerException - if tagName is null.public org.semanticweb.owlapi.model.IRI getIRIFromOBOId(String oboId)
oboId - The OBO ID
public org.semanticweb.owlapi.model.IRI getRelationIRIFromSymbolicIdOrOBOId(String symbolicIdOrOBOId)
public org.semanticweb.owlapi.model.OWLAnnotation parseXRef(String xref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||