public static final class FilterIterator.NonNumeric<T extends Item<?>> extends FilterIterator<T>
FilterIterator.NonNumeric<T extends Item<?>>base, filter, filterContextATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
NonNumeric(SequenceIterator<T> base,
Expression filter,
XPathContext context)
Create a CompiledFilterIterator for the situation where it is known that the filter
expression will never evaluate to a number value.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
matches()
Determine whether the context item matches the filter predicate
|
close, getNextMatchingItem, getProperties, next, setSequence, testPredicateValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachOrFail, materializepublic NonNumeric(SequenceIterator<T> base, Expression filter, XPathContext context)
base - iterator over the sequence to be filteredfilter - the filter expressioncontext - the current context (for evaluating the filter expression as a whole).
A new context will be created to evaluate the predicate.protected boolean matches()
throws XPathException
matches in class FilterIterator<T extends Item<?>>XPathException - if an error occurs evaluating the matchCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.