org.biojavax.bio.taxa
public class EbiFormat extends java.lang.Object implements TaxonParser
key=PROPERTY_NCBI_TAXON, value=String representation of the NCBI taxon id key=PROPERTY_TAXON_NAMES, value=Map from name-class to name (see ncbi names.dmp)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_NCBI_TAXON
Deprecated.
|
static java.lang.String |
PROPERTY_TAXON_NAMES
Deprecated.
|
Constructor and Description |
---|
EbiFormat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EbiFormat |
getInstance()
Deprecated.
|
Taxon |
parse(TaxonFactory taxonFactory,
java.lang.String taxonString)
Deprecated.
Convert a stringified Taxon into a Taxon instance.
|
java.lang.String |
serialize(Taxon taxon)
Deprecated.
Convert a Taxon into a stringified representation.
|
java.lang.String |
serializeSource(Taxon taxon)
Deprecated.
|
java.lang.String |
serializeXRef(Taxon taxon)
Deprecated.
|
public static final java.lang.String PROPERTY_NCBI_TAXON
public static final java.lang.String PROPERTY_TAXON_NAMES
public static final EbiFormat getInstance()
public Taxon parse(TaxonFactory taxonFactory, java.lang.String taxonString) throws ChangeVetoException, CircularReferenceException
TaxonParser
parse
in interface TaxonParser
taxonFactory
- the TaxonFactory used to instantiate taxa instancestaxonString
- the String to parseChangeVetoException
CircularReferenceException
public java.lang.String serialize(Taxon taxon)
TaxonParser
serialize
in interface TaxonParser
taxon
- the Taxon to serializepublic java.lang.String serializeSource(Taxon taxon)
public java.lang.String serializeXRef(Taxon taxon)