public static class OBOFormatWriter.OWLOntologyNameProvider extends Object implements OBOFormatWriter.NameProvider
OWLOntology.
| Constructor and Description |
|---|
OWLOntologyNameProvider(org.semanticweb.owlapi.model.OWLOntology ont,
String defaultOboNamespace) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultOboNamespace()
Retrieve the default OBO namespace.
|
String |
getName(String id)
Try to retrieve the valid name for the given identifier.
|
public OWLOntologyNameProvider(org.semanticweb.owlapi.model.OWLOntology ont, @Nullable String defaultOboNamespace)
ont - ontologydefaultOboNamespace - default OBO namespace@Nullable public String getName(String id)
OBOFormatWriter.NameProvidergetName in interface OBOFormatWriter.NameProviderid - identifier@Nullable public String getDefaultOboNamespace()
OBOFormatWriter.NameProvidergetDefaultOboNamespace in interface OBOFormatWriter.NameProviderCopyright © 2010–2017 The University of Manchester. All rights reserved.