|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xpath.expr.Expr
org.basex.query.xpath.expr.Path
public final class Path
Path Expression. This Expression represents a relative location path operating on a nodeset (return value of expression).
| Field Summary | |
|---|---|
Expr |
expr
Expression to be evaluated. |
Expr |
path
Location path. |
| Constructor Summary | |
|---|---|
Path(Expr e,
Expr p)
Constructor for a relative location path. |
|
| Method Summary | |
|---|---|
Expr |
compile(XPContext ctx)
Tries to optimize the Expression. |
NodeSet |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
java.lang.String |
toString()
|
boolean |
usesPos()
Checks whether this Expression (or its children) make use of the position parameter. |
boolean |
usesSize()
Checks whether this Expression (or its children) make use of the setsize parameter. |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
indexEquivalent, indexSizes, returnedValue, sameAs |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Expr expr
public Expr path
| Constructor Detail |
|---|
public Path(Expr e,
Expr p)
e - Expression evaluating to a nodesetp - Location Path (or maybe other Expression after optimization)| Method Detail |
|---|
public Expr compile(XPContext ctx)
throws EvalException
Expr
compile in class Exprctx - expression context
EvalException - evaluation exception
public NodeSet eval(XPContext ctx)
throws EvalException
Expr
eval in class Exprctx - query context
EvalException - evaluation exceptionpublic java.lang.String toString()
toString in class Exprpublic boolean usesPos()
Expr
usesPos in class Exprpublic boolean usesSize()
Expr
usesSize in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||