public static class SubsequenceStreamer.SubsequenceFilter extends java.lang.Object implements FilteringFeed.Filter
DONE, MATCHES, SKIP
Constructor and Description |
---|
SubsequenceFilter(int first,
int last) |
Modifier and Type | Method and Description |
---|---|
int |
matches(Item item,
int position)
Test whether a given item, at a given position in the sequence, matches the filter
|
public int matches(Item item, int position) throws XPathException
FilteringFeed.Filter
matches
in interface FilteringFeed.Filter
item
- the item to be matchedposition
- the 1-based position of the item in the sequenceXPathException
- if a dynamic error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.