org.jaxen.pattern
public class NamespaceTest extends NodeTest
NamespaceTest
tests for a given namespace URI.
Version: $Revision: 1.6 $
Field Summary | |
---|---|
short | nodeType The type of node to match - either attribute or element |
String | prefix The prefix to match against |
Constructor Summary | |
---|---|
NamespaceTest(String prefix, short nodeType) |
Method Summary | |
---|---|
short | getMatchType() |
double | getPriority() |
String | getText() |
protected String | getURI(Object node, Context context) Returns the URI of the current prefix or "" if no URI can be found |
boolean | matches(Object node, Context context) |
String | toString() |
Returns: true if the pattern matches the given node