org.basex.query.xquery.path
Class IterStep
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
org.basex.query.xquery.expr.Arr
org.basex.query.xquery.path.Step
org.basex.query.xquery.path.IterStep
public final class IterStep
- extends Step
Path expression. Mustn't be called with more than one predicate.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Fields inherited from class org.basex.query.xquery.path.Step |
axis, test |
Fields inherited from class org.basex.query.xquery.expr.Arr |
expr |
Method Summary |
NodeIter |
iter(XQContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
Methods inherited from class org.basex.query.xquery.expr.Expr |
e, i |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IterStep
public IterStep(Axis a,
Test t,
Expr[] p,
boolean last,
boolean num)
- Constructor.
- Parameters:
a
- axist
- node testp
- predicateslast
- lastFlag is true if predicate has a last functionnum
- numberFlag is true if predicate has a numeric value
iter
public NodeIter iter(XQContext ctx)
throws XQException
- Description copied from class:
Expr
- Evaluates the expression and returns an iterator on the resulting items.
- Overrides:
iter
in class Step
- Parameters:
ctx
- query context
- Returns:
- resulting item
- Throws:
XQException
- evaluation exception