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.xpath.locpath
Class TestNode

    java.lang.Object
      org.basex.query.xpath.locpath.Test
          org.basex.query.xpath.locpath.TestNode

    public abstract class TestNode

extends Test

Node Test testing for a specific NodeType.

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

Field Summary
`static TestNode` | `COMM` comment() kind.
`static TestNode` | `NODE` node() kind.
`static TestNode` | `PI` processing-instruction() kind.
`static TestNode` | `TEXT` text() kind.

Constructor Summary
`TestNode()`

Method Summary
`boolean` | `sameAs(Test test)` Checks current and specified class for equivalence.

Methods inherited from class org.basex.query.xpath.locpath.Test
`compile, eval, eval, toString`

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

Field Detail

### NODE

    public static final TestNode NODE

  node() kind.

### TEXT

    public static final TestNode TEXT

  text() kind.

### COMM

    public static final TestNode COMM

  comment() kind.

### PI

    public static final TestNode PI

  processing-instruction() kind.

Constructor Detail

### TestNode

    public TestNode()

Method Detail

### sameAs

    public final boolean sameAs(Test test)

  Description copied from class: `Test`
  Checks current and specified class for equivalence.

  Specified by:
    `sameAs` in class `Test`
  Parameters:
    `test` - node test to be compared
  Returns:
    result of check

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