Class NodeTypeTest

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

public class NodeTypeTest extends NodeTest
Version:
$Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
  • Field Details

    • nodeType

      private int nodeType
  • Constructor Details

    • NodeTypeTest

      public NodeTypeTest(int nodeType)
      Create a new NodeTypeTest.
      Parameters:
      nodeType - to match
  • Method Details

    • getNodeType

      public int getNodeType()
      Get the nodeType.
      Returns:
      int
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • nodeTypeToString

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