org.obolibrary.oboformat.writer
Class OBOFormatWriter.OBODocNameProvider
java.lang.Object
org.obolibrary.oboformat.writer.OBOFormatWriter.OBODocNameProvider
- All Implemented Interfaces:
- OBOFormatWriter.NameProvider
- Enclosing class:
- OBOFormatWriter
public static class OBOFormatWriter.OBODocNameProvider
- extends Object
- implements OBOFormatWriter.NameProvider
Default implementation of a OBOFormatWriter.NameProvider
using an
underlying OBODoc
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBOFormatWriter.OBODocNameProvider
public OBOFormatWriter.OBODocNameProvider(OBODoc oboDoc)
- Parameters:
oboDoc
-
getName
public String getName(String id)
- Description copied from interface:
OBOFormatWriter.NameProvider
- Try to retrieve the valid name for the given identifier.
If not available return null.
- Specified by:
getName
in interface OBOFormatWriter.NameProvider
- Parameters:
id
- identifier
- Returns:
- name or null
getDefaultOboNamespace
public String getDefaultOboNamespace()
- Description copied from interface:
OBOFormatWriter.NameProvider
- Retrieve the default OBO namespace
- Specified by:
getDefaultOboNamespace
in interface OBOFormatWriter.NameProvider
- Returns:
- default OBO namespace or null
Copyright © 2010-2013. All Rights Reserved.