public class SetsBlockBuilder extends NexusBlockBuilder.Abstract implements SetsBlockListener, NexusBlockBuilder, NexusBlockListener
SETS
Nexus block by listening to events.NexusBlockBuilder.Abstract
Constructor and Description |
---|
SetsBlockBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addCharSet(String name)
Adds a new character set with the specified name, if not already present.
|
void |
addCharSetInterval(String name,
int start,
int end)
Adds the specified interval to the specified character set.
|
protected void |
addComment(NexusComment comment)
The implementation of this method is currently empty since HIR Finder does not process
any information included in Nexus comments.
|
void |
endBlock() |
void |
endTokenGroup() |
protected NexusBlock |
startBlockObject() |
beginComment, commentText, endComment, getBlockName, getNexusBlock, startBlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNexusBlock
beginComment, commentText, endComment, startBlock
public SetsBlockBuilder()
public void addCharSet(String name)
SetsBlockListener
addCharSet
in interface SetsBlockListener
public void addCharSetInterval(String name, int start, int end)
SetsBlockListener
addCharSetInterval
in interface SetsBlockListener
protected void addComment(NexusComment comment)
addComment
in class NexusBlockBuilder.Abstract
NexusBlockBuilder.Abstract.addComment(org.biojavax.bio.phylo.io.nexus.NexusComment)
protected NexusBlock startBlockObject()
startBlockObject
in class NexusBlockBuilder.Abstract
public void endBlock()
endBlock
in interface NexusBlockListener
public void endTokenGroup()
endTokenGroup
in interface NexusBlockListener