org.planx.xpath.expr
Class NodeTypeTest
java.lang.Object
org.planx.xpath.expr.NodeTest
org.planx.xpath.expr.NodeTypeTest
public class NodeTypeTest
- extends NodeTest
Represents a node type test.
PRINCIPAL
public static final int PRINCIPAL
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
NODE
public static final int NODE
- See Also:
- Constant Field Values
NodeTypeTest
public NodeTypeTest(int nodeType)
matches
public boolean matches(Object node,
int principalNodeType,
Navigator navigator)
throws XPathException
- Description copied from class:
NodeTest
- Returns
true if the specified object matches
this node test. The argument principalNodeType
is the principal node type of the axis as specified in
Navigator.
- Specified by:
matches in class NodeTest
- Throws:
XPathException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.