org.jscience.biology.taxonomy
Class EbiFormat

java.lang.Object
  extended by org.jscience.biology.taxonomy.EbiFormat
All Implemented Interfaces:
TaxonParser

public class EbiFormat
extends java.lang.Object
implements TaxonParser

Encapsulate the 'EBI' species format used in Embl, Genbank and Swissprot files.


Field Summary
static java.lang.String PROPERTY_NCBI_TAXON
          DOCUMENT ME!
 
Constructor Summary
EbiFormat()
           
 
Method Summary
static EbiFormat getInstance()
          DOCUMENT ME!
 Taxon parse(TaxonFactory taxonFactory, java.lang.String taxonString)
          DOCUMENT ME!
 java.lang.String serialize(Taxon taxon)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_NCBI_TAXON

public static final java.lang.String PROPERTY_NCBI_TAXON
DOCUMENT ME!

Constructor Detail

EbiFormat

public EbiFormat()
Method Detail

getInstance

public static final EbiFormat getInstance()
DOCUMENT ME!

Returns:
DOCUMENT ME!

parse

public Taxon parse(TaxonFactory taxonFactory,
                   java.lang.String taxonString)
            throws CircularReferenceException
DOCUMENT ME!

Specified by:
parse in interface TaxonParser
Parameters:
taxonFactory - DOCUMENT ME!
taxonString - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
CircularReferenceException - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!

serialize

public java.lang.String serialize(Taxon taxon)
DOCUMENT ME!

Specified by:
serialize in interface TaxonParser
Parameters:
taxon - DOCUMENT ME!
Returns:
DOCUMENT ME!