Package org.biojavax.bio.phylo.io.nexus
Interface TaxaBlockListener
- All Superinterfaces:
NexusBlockListener
- All Known Implementing Classes:
TaxaBlockBuilder
Listens to events that represent Nexus taxa blocks.
- Since:
- 1.6
- Author:
- Richard Holland, Tobias Thierer, Jim Balhoff
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTaxLabel(String taxLabel) Add another value after the TAXLABEL tag.voidsetDimensionsNTax(int dimensionsNTax) Set the DIMENSIONS NTAX value.Methods inherited from interface org.biojavax.bio.phylo.io.nexus.NexusBlockListener
beginComment, commentText, endBlock, endComment, endTokenGroup, startBlock
-
Method Details
-
setDimensionsNTax
Set the DIMENSIONS NTAX value.- Parameters:
dimensionsNTax- the new value.
-
addTaxLabel
Add another value after the TAXLABEL tag.- Parameters:
taxLabel- the new taxa to add.- Throws:
ParseException- if the label is invalid.
-