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 java.lang.String nodeTypeToString(int code)
          Render the given node type as a String.
 java.lang.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 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


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.