Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.query.path
Class KindTest

    java.lang.Object
      org.basex.query.path.Test
          org.basex.query.path.KindTest

    public final class KindTest

extends Test

XQuery Kind Test.

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

Nested Class Summary

Nested classes/interfaces inherited from class org.basex.query.path.Test
`Test.Kind`

Field Summary

Fields inherited from class org.basex.query.path.Test
`kind, name, NODE, type`

Constructor Summary
`KindTest(Type t)` Constructor.
`KindTest(Type t, QNm ext)` Constructor.

Method Summary
`boolean` | `eval(Nod n)` Tests the specified node.
`java.lang.String` | `toString()`

Methods inherited from class org.basex.query.path.Test
`comp, sameAs`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### KindTest

    public KindTest(Type t)

  Constructor.

  Parameters:
    `t` - node type

### KindTest

    public KindTest(Type t,
                    QNm ext)

  Constructor.

  Parameters:
    `t` - node type
    `ext` - type extension

Method Detail

### eval

    public boolean eval(Nod n)
                 throws QueryException

  Description copied from class: `Test`
  Tests the specified node.

  Specified by:
    `eval` in class `Test`
  Parameters:
    `n` - temporary node
  Returns:
    result of check
  Throws:
    `QueryException` - evaluation exception

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD