public static final class FilterIterator.NonNumeric extends FilterIterator
FilterIterator.NonNumeric
base, filter, filterContext
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
FilterIterator.NonNumeric(SequenceIterator 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 |
---|---|
SequenceIterator |
getAnother()
Get another iterator to return the same nodes
|
protected boolean |
matches()
Determine whether the context item matches the filter predicate
|
close, getNextMatchingItem, getProperties, next, setSequence, testPredicateValue
public FilterIterator.NonNumeric(SequenceIterator 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
XPathException
- if an error occurs evaluating the matchpublic SequenceIterator getAnother() throws XPathException
getAnother
in interface SequenceIterator
getAnother
in class FilterIterator
XPathException
- if any error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.