public class OBO12DocumentFormat extends OWLDocumentFormatImpl implements OWLOntologyFormat
| Constructor and Description |
|---|
OBO12DocumentFormat() |
| Modifier and Type | Method and Description |
|---|---|
PrefixDocumentFormat |
asPrefixOWLOntologyFormat()
If this format is an instance of
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat. |
org.coode.owlapi.obo12.parser.IDSpaceManager |
getIdSpaceManager()
Gets the OBO id-space manager.
|
String |
getKey() |
boolean |
isPrefixOWLOntologyFormat()
Determines if this format is an instance of a format that uses prefixes
to shorted IRIs.
|
void |
setIDSpaceManager(org.coode.owlapi.obo12.parser.IDSpaceManager m) |
String |
toString() |
determineIllegalPunnings, equals, getOntologyLoaderMetaData, getParameter, hashCode, isAddMissingTypes, isMissingType, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParametergetOntologyLoaderMetaData, getParameter, isAddMissingTypes, isTextual, setAddMissingTypes, setOntologyLoaderMetaData, setParameterpublic String toString()
toString in class OWLDocumentFormatImplpublic void setIDSpaceManager(org.coode.owlapi.obo12.parser.IDSpaceManager m)
m - An IDSpaceManager which specifies mappings between id
prefixes and IRI prefixes.public org.coode.owlapi.obo12.parser.IDSpaceManager getIdSpaceManager()
IDSpaceManager for this format. For ontologies parsed
from an OBO file this will contain any id prefix to IRI prefix
mappings that were parsed out of the file (from id-space tags).
Not null.public String getKey()
getKey in interface OWLDocumentFormatpublic boolean isPrefixOWLOntologyFormat()
OWLDocumentFormatisPrefixOWLOntologyFormat in interface OWLDocumentFormattrue if this format is an instance of
PrefixDocumentFormat other
wise false.public PrefixDocumentFormat asPrefixOWLOntologyFormat()
OWLDocumentFormatPrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat.asPrefixOWLOntologyFormat in interface OWLDocumentFormatPrefixDocumentFormat.Copyright © 2016 The University of Manchester. All Rights Reserved.