|
||||||||||
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.Leading
Subclass to support the extension function saxon:leading, which terminates the iteration at the first item whose predicate is false
Nested Class Summary |
Nested classes 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 |
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD |
Constructor Summary | |
FilterIterator.Leading(SequenceIterator base,
Expression filter,
XPathContext context)
|
Method Summary | |
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 |
Methods inherited from class net.sf.saxon.expr.FilterIterator |
current, getProperties, next, position, setFilterIsSingletonBoolean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterIterator.Leading(SequenceIterator base, Expression filter, XPathContext context)
Method Detail |
protected boolean matches() throws XPathException
matches
in class FilterIterator
XPathException
protected Item getNextMatchingItem() throws XPathException
getNextMatchingItem
in class FilterIterator
XPathException
public SequenceIterator getAnother() throws XPathException
getAnother
in interface SequenceIterator
getAnother
in class FilterIterator
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |