|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.expr.Simple
org.basex.query.expr.Root
public final class Root
Root node.
| Constructor Summary | |
|---|---|
Root()
|
|
| Method Summary | |
|---|---|
Iter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
Nod |
root(Item i)
Returns the root node of the specified item. |
boolean |
sameAs(Expr cmp)
Checks the current and specified expression for equality. |
java.lang.String |
toString()
|
boolean |
uses(Expr.Use use,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Simple |
|---|
color, comp, plan |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, indexAccessible, indexEquivalent, removable, remove, size, test |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Root()
| Method Detail |
|---|
public Iter iter(QueryContext ctx)
throws QueryException
ExprExpr.atomic(org.basex.query.QueryContext) must be implemented.
iter in class Exprctx - query context
QueryException - evaluation exceptionpublic Nod root(Item i)
i - input node
public boolean uses(Expr.Use use,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Simpleuse - use type to be checkedctx - query context
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public boolean sameAs(Expr cmp)
Expr
sameAs in class Exprcmp - expression to be compared
public java.lang.String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||