org.biojavax.bio.taxa
public interface TaxonParser
Modifier and Type | Method and 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.
|
Taxon parse(TaxonFactory taxonFactory, java.lang.String taxonString) throws ChangeVetoException, CircularReferenceException
taxonFactory
- the TaxonFactory used to instantiate taxa instancestaxonString
- the String to parseChangeVetoException
CircularReferenceException
java.lang.String serialize(Taxon taxon)
taxon
- the Taxon to serialize