public final class NamespaceTest extends NodeTest
originalText, staticContext| Constructor and Description |
|---|
NamespaceTest(NamePool pool,
short nodeType,
short uriCode) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDefaultPriority()
Determine the default priority of this node test when used on its own as a Pattern
|
short |
getNodeType()
Determine the types of nodes to which this pattern applies.
|
boolean |
matches(NodeInfo node)
Test whether this node test is satisfied by a given node
|
boolean |
matches(short nodeType,
int fingerprint)
Test whether this node test is satisfied by a given node
|
getFingerprint, getLineNumber, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, simplify, toStringpublic NamespaceTest(NamePool pool, short nodeType, short uriCode)
public final boolean matches(NodeInfo node)
public boolean matches(short nodeType,
int fingerprint)
public final double getDefaultPriority()
getDefaultPriority in class Patternpublic short getNodeType()
getNodeType in class Pattern