com.icl.saxon.pattern
public final class AnyNodeTest extends NodeTest
Modifier and Type | Field and Description |
---|---|
(package private) static AnyNodeTest |
instance |
originalText, staticContext
Constructor and Description |
---|
AnyNodeTest() |
Modifier and Type | Method and Description |
---|---|
double |
getDefaultPriority()
Determine the default priority of this node test when used on its own as a Pattern
|
static AnyNodeTest |
getInstance()
Get an instance of AnyNodeTest
|
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, getNodeType, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, simplify, toString
static AnyNodeTest instance
public static AnyNodeTest getInstance()
public final boolean matches(NodeInfo node)
public final boolean matches(short nodeType, int fingerprint)
public final double getDefaultPriority()
getDefaultPriority
in class Pattern