org.planx.xpath.expr
Class NameTest
java.lang.Object
org.planx.xpath.expr.NodeTest
org.planx.xpath.expr.NameTest
public class NameTest
- extends NodeTest
Represents a name test.
|
Method Summary |
boolean |
matches(Object node,
int principalNodeType,
Navigator navigator)
Returns true if the node is of the
principal node type and has a name that matches
this name test. |
String |
toString()
|
NameTest
public NameTest(String name)
matches
public boolean matches(Object node,
int principalNodeType,
Navigator navigator)
throws XPathException
- Returns
true if the node is of the
principal node type and has a name that matches
this name test.
- Specified by:
matches in class NodeTest
- Throws:
XPathException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010. All Rights Reserved.