public interface FeatureRealizer
There is no requirement that Sequence implementations use FeatureRealizers to construct their features, but common implementations such as SimpleSequence and ViewSequence do.
Modifier and Type | Method and Description |
---|---|
Feature |
realizeFeature(Sequence seq,
FeatureHolder parent,
Feature.Template template)
Install a feature on the specified sequence.
|
Feature realizeFeature(Sequence seq, FeatureHolder parent, Feature.Template template) throws BioException
seq
- The sequence to which the feature will be added.template
- A description of the desired feature.parent
- The FeatureHolder which is to be the Feature's
immediate parent.BioException
- If the feature could not be constructed.Copyright © 2014 BioJava. All rights reserved.