org.apache.commons.jxpath.ri.compiler
Class NodeTypeTest

java.lang.Object
  extended by org.apache.commons.jxpath.ri.compiler.NodeTest
      extended by 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) $
Author:
Dmitri Plotnikov

Constructor Summary
NodeTypeTest(int nodeType)
          Create a new NodeTypeTest.
 
Method Summary
 int getNodeType()
          Get 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 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 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


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.