public class SubHitBuilder
extends org.biojava.bio.search.SearchContentFilter
Build SeqSimilaritySearchSubHit instances from the sub hit info. Note: You must have an AlignmentBuilder in the chain before this handler
This will consume all the information necessary to build a SeqSimilaritySearchSubHit instance and then emit one under the key SubHitBuilder.SEARCH_SUB_HIT to the next handler in the chain.
| Modifier and Type | Field and Description |
|---|---|
static Object |
SEARCH_SUB_HIT |
| Constructor and Description |
|---|
SubHitBuilder(org.biojava.bio.search.SearchContentHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubHitProperty(Object key,
Object val) |
void |
endSubHit() |
void |
startSubHit() |
public static final Object SEARCH_SUB_HIT
public SubHitBuilder(org.biojava.bio.search.SearchContentHandler delegate)
public void startSubHit()
startSubHit in interface org.biojava.bio.search.SearchContentHandlerstartSubHit in class org.biojava.bio.search.SearchContentFilterpublic void addSubHitProperty(Object key, Object val)
addSubHitProperty in interface org.biojava.bio.search.SearchContentHandleraddSubHitProperty in class org.biojava.bio.search.SearchContentFilterpublic void endSubHit()
endSubHit in interface org.biojava.bio.search.SearchContentHandlerendSubHit in class org.biojava.bio.search.SearchContentFilter