org.basex.query.xquery.path
Class NameTest

java.lang.Object
  extended by org.basex.query.xquery.path.Test
      extended by org.basex.query.xquery.path.NameTest

public final class NameTest
extends Test

XQuery Name Test.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.basex.query.xquery.path.Test
Test.Kind
 
Field Summary
 byte[] ln
          Local name.
 
Fields inherited from class org.basex.query.xquery.path.Test
kind, name, NODE, type
 
Constructor Summary
NameTest()
          Empty Constructor ('*').
NameTest(QNm nm, Test.Kind t)
          Constructor.
 
Method Summary
 boolean e(Nod tmp)
          Tests the specified node.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ln

public byte[] ln
Local name.

Constructor Detail

NameTest

public NameTest()
Empty Constructor ('*').


NameTest

public NameTest(QNm nm,
                Test.Kind t)
Constructor.

Parameters:
nm - name
t - test type
Method Detail

e

public boolean e(Nod tmp)
          throws XQException
Description copied from class: Test
Tests the specified node.

Specified by:
e in class Test
Parameters:
tmp - temporary node
Returns:
result of check
Throws:
XQException - evaluation exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object