Package org.apache.commons.jxpath.ri.compiler

# Class NodeTypeTest

java.lang.Object
org.apache.commons.jxpath.ri.compiler.NodeTest
org.apache.commons.jxpath.ri.compiler.NodeTypeTest

public class NodeTypeTest extends NodeTest
Node type test.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NodeTypeTest(int nodeType)`
  Constructs a new NodeTypeTest.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getNodeType()`
  Gets the nodeType.
  `static String`
  `nodeTypeToString(int code)`
  Render the given node type as a String.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### NodeTypeTest

    public NodeTypeTest(int nodeType)
    Constructs a new NodeTypeTest.
    Parameters:
      `nodeType` - to match

- ## Method Details

  - ### nodeTypeToString

    public static String nodeTypeToString(int code)
    Render the given node type as a String.
    Parameters:
      `code` - int
    Returns:
      String

  - ### getNodeType

    public int getNodeType()
    Gets the nodeType.
    Returns:
      int

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`