|
||||||||||
| 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.xquery.expr.Expr
org.basex.query.xquery.expr.Arr
org.basex.query.xquery.path.Path
public class Path
Path expression.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
|---|
Expr.Return, Expr.Using |
| Field Summary | |
|---|---|
Expr |
root
Top expression. |
| Fields inherited from class org.basex.query.xquery.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
Path(Expr r,
Expr[] p)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
comp(XQContext ctx)
Optimizes and compiles the expression. |
Path |
invertPath(Step curr)
Inverts a path. |
static Path |
invertSIStep(SimpleIterStep sis,
Step curr,
Expr expr)
Inverts a path. |
Iter |
iter(XQContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
java.lang.String |
path()
Returns a string representation of the path. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Type |
returned()
Indicates if an expression returns the specified type. |
java.lang.String |
toString()
|
boolean |
uses(Expr.Using u)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
e, i |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Expr root
| Constructor Detail |
|---|
public Path(Expr r,
Expr[] p)
r - root expressionp - expression list| Method Detail |
|---|
public Expr comp(XQContext ctx)
throws XQException
Expr
comp in class Arrctx - query context
XQException - evaluation exception
public Iter iter(XQContext ctx)
throws XQException
Expr
iter in class Exprctx - query context
XQException - evaluation exceptionpublic Path invertPath(Step curr)
curr - current location step
public static Path invertSIStep(SimpleIterStep sis,
Step curr,
Expr expr)
sis - SimpleIterStepcurr - current location stepexpr - Expression
public boolean uses(Expr.Using u)
Expr
uses in class Arru - using flag
public Type returned()
Expr
returned in class Arrpublic java.lang.String path()
public java.lang.String toString()
toString in class ExprInfo
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class Arrser - serializer
java.io.IOException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||