public static class DefaultNodeMatcher.DefaultNodeTypeMatcher extends Object implements DefaultNodeMatcher.NodeTypeMatcher
DefaultNodeMatcher.NodeTypeMatcher that marks pairs of nodes of the same
node type as well as pairs of CDATA sections and text nodes as
eligible.| Constructor and Description |
|---|
DefaultNodeTypeMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeCompared(short controlType,
short testType)
Determines whether two Nodes are eligible for comparison
based on their node type.
|
public boolean canBeCompared(short controlType,
short testType)
DefaultNodeMatcher.NodeTypeMatchercanBeCompared in interface DefaultNodeMatcher.NodeTypeMatchercontrolType - the node type of the control nodetestType - the node type of the test nodeCopyright © 2001–2025 XMLUnit. All rights reserved.