|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.tagvalue.TagValueWrapper
org.biojava.bio.program.tagvalue.TagRenamer
Rename tags using a TagMapper.
This will rename tags as they stream into this listener using a TagMapper. Once renamed, the events will be forwarded onto a delegate TagValueListener for further processing.
Constructor Summary | |
TagRenamer(TagValueListener delegate,
TagMapper mapper)
Build a new TagRenamer with a delegate and mapper. |
Method Summary | |
TagMapper |
getMapper()
Retrieve the mapper used to rename tags |
void |
startTag(java.lang.Object tag)
Start a new tag. |
Methods inherited from class org.biojava.bio.program.tagvalue.TagValueWrapper |
endRecord, endTag, getDelegate, setDelegate, startRecord, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TagRenamer(TagValueListener delegate, TagMapper mapper)
delegate
- TagValueListener to pass mapped events ontomapper
- TagMapper used to rename tagsMethod Detail |
public TagMapper getMapper()
public void startTag(java.lang.Object tag) throws ParserException
TagValueListener
startTag
in interface TagValueListener
startTag
in class TagValueWrapper
ParserException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |