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.
  • Field Details

    • nodeType

      private final int nodeType
  • 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