|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.query.QueryContext
org.basex.query.xpath.XPContext
public final class XPContext
Query context.
| Field Summary | |
|---|---|
FTOption |
ftoption
Leaf flag. |
boolean |
leaf
Leaf flag. |
NodeSet |
local
Data reference. |
| Constructor Summary | |
|---|---|
XPContext(Expr expr)
Constructor. |
|
| Method Summary | |
|---|---|
void |
compile(Nodes n)
Optimizes the expression. |
Item |
eval(Expr e)
Evaluates the expression with the specified context set. |
Result |
eval(Nodes nodes)
Evaluates the expression with the specified context set. |
| Methods inherited from class org.basex.query.QueryContext |
|---|
compInfo, det, evalInfo, head, info, prog |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public FTOption ftoption
public boolean leaf
public NodeSet local
| Constructor Detail |
|---|
public XPContext(Expr expr)
expr - root expression| Method Detail |
|---|
public void compile(Nodes n)
throws EvalException
QueryContext
compile in class QueryContextn - node context
EvalException - evaluation exception
public Item eval(Expr e)
throws EvalException
e - current expression
EvalException - evaluation exception
public Result eval(Nodes nodes)
throws EvalException
QueryContext
eval in class QueryContextnodes - initial context set
EvalException - evaluation exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||