public class TaxaBlockBuilder extends NexusBlockBuilder.Abstract implements TaxaBlockListener
NexusBlockBuilder.Abstract| Constructor and Description |
|---|
TaxaBlockBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addComment(NexusComment comment)
Tell the builder to add the given comment at the current location.
|
void |
addTaxLabel(String taxLabel)
Add another value after the TAXLABEL tag.
|
void |
endBlock()
Notifies the parser that a block is ending.
|
void |
endTokenGroup()
Closing a line (semi-colon encountered).
|
void |
setDimensionsNTax(int dimensionsNTax)
Set the DIMENSIONS NTAX value.
|
protected NexusBlock |
startBlockObject()
Tell the builder to start a new block object.
|
beginComment, commentText, endComment, getBlockName, getNexusBlock, startBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginComment, commentText, endComment, startBlockpublic TaxaBlockBuilder()
public void addTaxLabel(String taxLabel) throws ParseException
TaxaBlockListeneraddTaxLabel in interface TaxaBlockListenertaxLabel - the new taxa to add.ParseException - if the label is invalid.public void setDimensionsNTax(int dimensionsNTax)
TaxaBlockListenersetDimensionsNTax in interface TaxaBlockListenerdimensionsNTax - the new value.protected void addComment(NexusComment comment)
NexusBlockBuilder.AbstractaddComment in class NexusBlockBuilder.Abstractcomment - the comment to add.protected NexusBlock startBlockObject()
NexusBlockBuilder.AbstractstartBlockObject in class NexusBlockBuilder.Abstractpublic void endBlock()
NexusBlockListenerendBlock in interface NexusBlockListenerpublic void endTokenGroup()
NexusBlockListenerendTokenGroup in interface NexusBlockListenerCopyright © 2020 BioJava. All rights reserved.