- All Known Implementing Classes:
public interface FeatureRealizerInterface for translators which map from Feature.Template instances to real Feature objects. NOTE this interface is intended for use primarily by Sequence implementors. Normal users can generally ignore it.
There is no requirement that Sequence implementations use FeatureRealizers to construct their features, but common implementations such as SimpleSequence and ViewSequence do.
- Thomas Down
Feature realizeFeature(Sequence seq, FeatureHolder parent, Feature.Template template) throws BioExceptionInstall a feature on the specified sequence.
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.
- A newly constructed feature, to be added to the sequence.
BioException- If the feature could not be constructed.