public final class AnyChildNodePattern extends NodeTest
originalText, staticContext
Constructor and Description |
---|
AnyChildNodePattern() |
Modifier and Type | Method and 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(NodeInfo node)
Determine whether the pattern matches 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, toString
public boolean matches(NodeInfo node)
public boolean matches(short nodeType, int fingerprint)
public short getNodeType()
getNodeType
in class Pattern
public double getDefaultPriority()
getDefaultPriority
in class Pattern