Interface FeatureFilter

    • Field Detail

      • top_level

        static final FeatureFilter top_level
        A filter which accepts only top-level Features. This is true is getParent() returns a Sequence instance.
        Since:
        1.3
      • leaf

        static final FeatureFilter leaf
        A filter which accepts features with no children
        Since:
        1.3
    • Method Detail

      • accept

        boolean accept​(Feature f)
        This method determines whether a feature is to be accepted.
        Parameters:
        f - the Feature to evaluate
        Returns:
        true if this feature is to be selected in, or false if it is to be ignored