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(OWLOntology ont, @Nullable String defaultOboNamespace, OBODoc result)
ont
- ontologydefaultOboNamespace
- default OBO namespaceresult
- result@Nullable public String getName(String id)
OBOFormatWriter.NameProvider
getName
in interface OBOFormatWriter.NameProvider
id
- identifier@Nullable public String getDefaultOboNamespace()
OBOFormatWriter.NameProvider
getDefaultOboNamespace
in interface OBOFormatWriter.NameProvider
Copyright © 2020 The University of Manchester. All rights reserved.