org.obolibrary.oboformat.writer
Interface OBOFormatWriter.NameProvider

All Known Implementing Classes:
OBOFormatWriter.OBODocNameProvider
Enclosing class:
OBOFormatWriter

public static interface OBOFormatWriter.NameProvider

Provide names for given OBO identifiers. This abstraction layer allows to find names from different sources, including OBODoc.


Method Summary
 String getDefaultOboNamespace()
          Retrieve the default OBO namespace
 String getName(String id)
          Try to retrieve the valid name for the given identifier.
 

Method Detail

getName

String getName(String id)
Try to retrieve the valid name for the given identifier. If not available return null.

Parameters:
id - identifier
Returns:
name or null

getDefaultOboNamespace

String getDefaultOboNamespace()
Retrieve the default OBO namespace

Returns:
default OBO namespace or null


Copyright © 2010-2011. All Rights Reserved.