public static final class FilterIterator.Leading extends FilterIterator
FilterIterator.Leading, FilterIterator.NonNumericbase, filter, filterContextATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
Leading(SequenceIterator base,
Expression filter,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
SequenceIterator |
getAnother()
Get another iterator to return the same nodes
|
protected Item |
getNextMatchingItem()
Get the next node that matches the filter predicate if there is one
|
protected boolean |
matches()
Determine whether the context item matches the filter predicate
|
current, getProperties, next, position, setFilterIsSingletonBooleanpublic Leading(SequenceIterator base, Expression filter, XPathContext context)
protected boolean matches()
throws XPathException
matches in class FilterIteratorXPathExceptionprotected Item getNextMatchingItem() throws XPathException
getNextMatchingItem in class FilterIteratorXPathExceptionpublic SequenceIterator getAnother() throws XPathException
getAnother in interface SequenceIteratorgetAnother in class FilterIteratorXPathException - if any error occurs