public class SetsBlockBuilder extends org.biojavax.bio.phylo.io.nexus.NexusBlockBuilder.Abstract implements SetsBlockListener, org.biojavax.bio.phylo.io.nexus.NexusBlockBuilder, org.biojavax.bio.phylo.io.nexus.NexusBlockListener
SETS
Nexus block by listening to events.Constructor and Description |
---|
SetsBlockBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addCharSet(java.lang.String name)
Adds a new character set with the specified name, if not already present.
|
void |
addCharSetInterval(java.lang.String name,
int start,
int end)
Adds the specified interval to the specified character set.
|
protected void |
addComment(org.biojavax.bio.phylo.io.nexus.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 org.biojavax.bio.phylo.io.nexus.NexusBlock |
startBlockObject() |
beginComment, commentText, endComment, getBlockName, getNexusBlock, startBlock
public SetsBlockBuilder()
public void addCharSet(java.lang.String name)
SetsBlockListener
addCharSet
in interface SetsBlockListener
public void addCharSetInterval(java.lang.String name, int start, int end)
SetsBlockListener
addCharSetInterval
in interface SetsBlockListener
protected void addComment(org.biojavax.bio.phylo.io.nexus.NexusComment comment)
addComment
in class org.biojavax.bio.phylo.io.nexus.NexusBlockBuilder.Abstract
NexusBlockBuilder.Abstract.addComment(org.biojavax.bio.phylo.io.nexus.NexusComment)
protected org.biojavax.bio.phylo.io.nexus.NexusBlock startBlockObject()
startBlockObject
in class org.biojavax.bio.phylo.io.nexus.NexusBlockBuilder.Abstract
public void endBlock()
endBlock
in interface org.biojavax.bio.phylo.io.nexus.NexusBlockListener
public void endTokenGroup()
endTokenGroup
in interface org.biojavax.bio.phylo.io.nexus.NexusBlockListener