Class NodeTypeTest


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

      Fields 
      Modifier and Type Field Description
      private int nodeType  
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeTypeTest​(int nodeType)
      Create a new NodeTypeTest.
    • Field Detail

      • nodeType

        private int nodeType
    • Constructor Detail

      • NodeTypeTest

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

      • getNodeType

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

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

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