1 package jalview.datamodel.features;
3 import jalview.datamodel.SequenceFeature;
4 import jalview.util.matcher.MatcherI;
7 * An interface for an object that can apply a match condition to a
8 * SequenceFeature object
12 public interface FeatureMatcherI
15 * Answers true if the value provided for this matcher's key passes this
16 * matcher's match condition
21 boolean matches(SequenceFeature feature);
24 * Answers the attribute key this matcher operates on (or null if match is by
29 String[] getAttribute();
32 * Answers true if match is against feature label (description), else false
39 * Answers true if match is against feature score, else false
46 * Answers the match condition that is applied
50 MatcherI getMatcher();