Package org.biojava.bio.taxa
Interface TaxonParser
-
- All Known Implementing Classes:
EbiFormat
public interface TaxonParser
Deprecated.replaced by classes inorg.biojavax.bio.taxa
Encapsulate the mapping between Taxon and stringified representations of taxa.- Author:
- Matthew Pocock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
parse
Taxon parse(TaxonFactory taxonFactory, java.lang.String taxonString) throws ChangeVetoException, CircularReferenceException
Deprecated.Convert a stringified Taxon into a Taxon instance.- Parameters:
taxonFactory
- the TaxonFactory used to instantiate taxa instancestaxonString
- the String to parse- Returns:
- a Taxon instance created by the TaxonFactory from the taxonString
- Throws:
ChangeVetoException
CircularReferenceException
-
serialize
java.lang.String serialize(Taxon taxon)
Deprecated.Convert a Taxon into a stringified representation.- Parameters:
taxon
- the Taxon to serialize- Returns:
- the stringified version of Taxon
-
-