org.basex.query.xquery.path
Class Test

java.lang.Object
  extended by org.basex.query.xquery.path.Test
Direct Known Subclasses:
KindTest, NameTest

public abstract class Test
extends java.lang.Object

XQuery Node Tests.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

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
abstract  boolean e(Nod tmp)
          Tests the specified node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kind

public Test.Kind kind
Test type.


NODE

public static final Test NODE
Static node test.


name

public QNm name
Name test.


type

public Type type
Node test.

Constructor Detail

Test

public Test()
Method Detail

e

public abstract boolean e(Nod tmp)
                   throws XQException
Tests the specified node.

Parameters:
tmp - temporary node
Returns:
result of check
Throws:
XQException - evaluation exception