Class SimpleTagValueWrapper

java.lang.Object
org.biojava.bio.program.tagvalue.SimpleTagValueWrapper
All Implemented Interfaces:
TagValueListener, TagValueWrapper
Direct Known Subclasses:
Aggregator, MultiTagger, RegexFieldFinder, TagDelegator, TagDropper, TagRenamer, ValueChanger

public abstract class SimpleTagValueWrapper extends Object implements TagValueWrapper

Helper class to wrap one TagValueListener inside another one.

Implementations will tend to intercept the tags or values as they stream through and modify them in some manner before forwarding them to the delegate listener. Using classes derived from SimpleTagValueWrapper, it is possible to build up complex chains of handlers that process and collate information as it streams through.

Since:
1.2
Author:
Matthew Pocock, David Huen (change of TagValueWrapper to interface)