org.apache.commons.jxpath.ri.compiler
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
Constructor Summary |
NodeTypeTest(int nodeType)
Create a new NodeTypeTest. |
NodeTypeTest
public NodeTypeTest(int nodeType)
- Create a new NodeTypeTest.
- Parameters:
nodeType
- to match
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.