|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.path.Test
public abstract class Test
XQuery node tests.
| Nested Class Summary | |
|---|---|
static class |
Test.Kind
Test types. |
| Field Summary | |
|---|---|
Test.Kind |
kind
Test type. |
QNm |
name
Name test. |
static Test |
NODE
Static node test. |
Type |
type
Node test. |
| Constructor Summary | |
|---|---|
Test()
|
|
| Method Summary | |
|---|---|
boolean |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
abstract boolean |
eval(Nod nod)
Tests the specified node. |
boolean |
sameAs(Test t)
Checks the current and specified test for equality. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Test NODE
public Test.Kind kind
public Type type
public QNm name
| Constructor Detail |
|---|
public Test()
| Method Detail |
|---|
public boolean comp(QueryContext ctx)
throws QueryException
ctx - query context
QueryException - query exception
public abstract boolean eval(Nod nod)
throws QueryException
nod - temporary node
QueryException - query exceptionpublic final boolean sameAs(Test t)
t - test to be compared
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||