|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.expr.FilterIterator
net.sf.saxon.expr.FilterIterator.NonNumeric
public static final class FilterIterator.NonNumeric
Subclass to handle the common special case where it is statically known that the filter cannot return a numeric value
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.saxon.expr.FilterIterator |
---|
FilterIterator.Leading, FilterIterator.NonNumeric |
Field Summary |
---|
Fields inherited from class net.sf.saxon.expr.FilterIterator |
---|
base, filter, filterContext |
Fields inherited from interface net.sf.saxon.om.SequenceIterator |
---|
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
---|---|
FilterIterator.NonNumeric(SequenceIterator base,
Expression filter,
XPathContext context)
Create a FilterIterator for the situation where it is known that the filter expression will never evaluate to a number value. |
Method Summary | |
---|---|
SequenceIterator |
getAnother()
Get another iterator to return the same nodes |
protected boolean |
matches()
Determine whether the context item matches the filter predicate |
Methods inherited from class net.sf.saxon.expr.FilterIterator |
---|
close, current, getNextMatchingItem, getProperties, next, position |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
protected boolean matches() throws XPathException
matches
in class FilterIterator
XPathException
public SequenceIterator getAnother() throws XPathException
getAnother
in interface SequenceIterator
getAnother
in class FilterIterator
XPathException
- if any error occurs
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |