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 Summary
Fields Modifier and Type Field Description private intnodeType
-
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 intgetNodeType()Get the nodeType.static java.lang.StringnodeTypeToString(int code)Render the given node type as a String.java.lang.StringtoString()
-
-
-
Method Detail
-
getNodeType
public int getNodeType()
Get the nodeType.- Returns:
- int
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-