Class FilteringFeed.FilterLambda

    • Method Detail

      • matches

        public FilteringFeed.FilterResult matches​(Item item,
                                                  int position)
                                           throws XPathException
        Description copied from interface: FilteringFeed.Filter
        Test whether a given item, at a given position in the sequence, matches the filter
        Specified by:
        matches in interface FilteringFeed.Filter
        item - the item to be matched
        position - the 1-based position of the item in the sequence
        MATCHES if the item is to be included in the result, SKIP if it is to be excluded; DONE if this and all future items are to be excluded
        XPathException - if a dynamic error occurs