|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.expr.Arr
org.basex.query.xquery.path.Step
public final class Step
Path expression.
| Field Summary | |
|---|---|
Axis |
axis
Axis. |
Test |
test
Node test. |
| Fields inherited from class org.basex.query.xquery.expr.Arr |
|---|
list |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
Step(Axis a,
Test t,
Expr[] p)
Constructor. |
|
| Method Summary | |
|---|---|
Item |
eval(XQContext ctx)
Evaluates the expression and returns the resulting item. |
java.lang.String |
info()
Returns a string description of the expression. |
boolean |
simple(Axis ax)
Checks if this is a simple axis (node test, no predicates). |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.expr.Arr |
|---|
comp |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, i, n, node, s, size, str, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Axis axis
public Test test
| Constructor Detail |
|---|
public Step(Axis a,
Test t,
Expr[] p)
a - axist - node testp - predicates| Method Detail |
|---|
public Item eval(XQContext ctx)
throws XQException
Expr
eval in class Exprctx - query context
XQException - evaluation exceptionpublic java.lang.String info()
ExprExpr.toString() method, the current expressions aren't included
in the output.
info in class Exprpublic boolean simple(Axis ax)
ax - axis to be checked
public java.lang.String toString()
toString in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||