public final class NoNodeTest extends NodeTest
originalText, staticContext
Constructor | Description |
---|---|
NoNodeTest() |
Modifier and Type | Method | Description |
---|---|---|
double |
getDefaultPriority() |
Determine the default priority of this node test when used on its own as a Pattern
|
static NoNodeTest |
getInstance() |
Get a NoNodeTest instance
|
short |
getNodeType() |
Determine the types of nodes to which this pattern applies.
|
boolean |
matches(short nodeType,
int fingerprint) |
Test whether this node test is satisfied by a given node
|
boolean |
matches(NodeInfo node) |
Test whether this node test is satisfied by a given node
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFingerprint, getLineNumber, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, simplify, toString
public static NoNodeTest getInstance()
public final short getNodeType()
Pattern
getNodeType
in class Pattern
public final boolean matches(NodeInfo node)
public boolean matches(short nodeType, int fingerprint)
public final double getDefaultPriority()
getDefaultPriority
in class Pattern