Class ReparentContext

java.lang.Object
org.biojava.bio.seq.projection.ReparentContext
All Implemented Interfaces:
Serializable, ProjectionContext
Direct Known Subclasses:
SimpleGappedSequence.GappedContext, SubSequence.SubProjectedFeatureContext, TranslateFlipContext

public class ReparentContext extends Object implements ProjectionContext, Serializable
A good base class to implement ProjectionContext from.

ReparentContext takes care of much of the ugliness of implementing ProjectionContext, such as handling listeners and grafting features onto a new parent. It also sets up a framework for mutating feature filters. Think carefully before overriding methods in this class.

Author:
Matthew Pocock, Thomas Down
See Also: