org.planx.xpath.expr
Class NodeTest
java.lang.Object
org.planx.xpath.expr.NodeTest
- Direct Known Subclasses:
- NameTest, NodeTypeTest
public abstract class NodeTest
- extends Object
Represents a node test.
|
Method Summary |
abstract boolean |
matches(Object node,
int principalNodeType,
Navigator navigator)
Returns true if the specified object matches
this node test. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeTest
public NodeTest()
matches
public abstract boolean matches(Object node,
int principalNodeType,
Navigator navigator)
throws XPathException
- 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.
- Throws:
XPathException
Copyright © 2010. All Rights Reserved.