Package com.saxonica.ee.stream.adjunct
Class SubsequenceStreamer.SubsequenceFilter
java.lang.Object
com.saxonica.ee.stream.adjunct.SubsequenceStreamer.SubsequenceFilter
- All Implemented Interfaces:
FilteringFeed.Filter
- Enclosing class:
SubsequenceStreamer
public static class SubsequenceStreamer.SubsequenceFilter
extends Object
implements FilteringFeed.Filter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTest whether a given item, at a given position in the sequence, matches the filter
-
Constructor Details
-
SubsequenceFilter
public SubsequenceFilter(int first, int last)
-
-
Method Details
-
matches
Description copied from interface:FilteringFeed.FilterTest whether a given item, at a given position in the sequence, matches the filter- Specified by:
matchesin interfaceFilteringFeed.Filter- Parameters:
item- the item to be matchedposition- the 1-based position of the item in the sequence- Returns:
- 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
- Throws:
XPathException- if a dynamic error occurs
-