org.jaxen.pattern
public class NameTest extends NodeTest
NameTest
tests for a node name.
Version: $Revision: 1.7 $
Field Summary | |
---|---|
String | name The name to match against |
short | nodeType The type of node to match - either attribute or element |
Constructor Summary | |
---|---|
NameTest(String name, short nodeType) |
Method Summary | |
---|---|
short | getMatchType() |
double | getPriority() |
String | getText() |
boolean | matches(Object node, Context context) |
String | toString() |
Returns: true if the pattern matches the given node