org.obolibrary.oboformat.writer
Class OBOFormatWriter.OBODocNameProvider

java.lang.Object
  extended by 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.


Constructor Summary
OBOFormatWriter.OBODocNameProvider(OBODoc oboDoc)
           
 
Method Summary
 String getName(String id)
          Try to retrieve the valid name for the given identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBOFormatWriter.OBODocNameProvider

public OBOFormatWriter.OBODocNameProvider(OBODoc oboDoc)
Parameters:
oboDoc -
Method Detail

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


Copyright © 2010-2011. All Rights Reserved.