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.NodeTypeMatcher
canBeCompared
in interface DefaultNodeMatcher.NodeTypeMatcher
Copyright © 2001–2017 XMLUnit. All rights reserved.