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) $
- 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNodeType()
Get the nodeType.static java.lang.String
nodeTypeToString(int code)
Render the given node type as a String.java.lang.String
toString()
-
-
-
Method Detail
-
getNodeType
public int getNodeType()
Get the nodeType.- Returns:
- int
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
nodeTypeToString
public static java.lang.String nodeTypeToString(int code)
Render the given node type as a String.- Parameters:
code
- int- Returns:
- String
-
-