public static class OBOFormatWriter.OWLOntologyNameProvider extends Object implements OBOFormatWriter.NameProvider
OWLOntology
. Constructor and Description |
---|
OWLOntologyNameProvider(OWLOntology ont,
String defaultOboNamespace,
OBODoc result) |
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(@Nonnull OWLOntology ont, String defaultOboNamespace, OBODoc result)
ont
- ontologydefaultOboNamespace
- default OBO namespaceresult
- resultpublic String getName(String id)
OBOFormatWriter.NameProvider
getName
in interface OBOFormatWriter.NameProvider
id
- identifierpublic String getDefaultOboNamespace()
OBOFormatWriter.NameProvider
getDefaultOboNamespace
in interface OBOFormatWriter.NameProvider
Copyright © 2020 The University of Manchester. All rights reserved.