public final class AnyChildNodePattern extends NodeTest
originalText, staticContext| Constructor | Description |
|---|---|
AnyChildNodePattern() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getDefaultPriority() |
Determine the default priority to use if this pattern appears as a match pattern
for a template with no explicit priority attribute.
|
short |
getNodeType() |
Determine the type 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) |
Determine whether the pattern matches a given node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFingerprint, getLineNumber, getStaticContext, getSystemId, make, setOriginalText, setStaticContext, simplify, toStringpublic boolean matches(NodeInfo node)
public boolean matches(short nodeType,
int fingerprint)
public short getNodeType()
getNodeType in class Patternpublic double getDefaultPriority()
getDefaultPriority in class Pattern