Package org.xmlunit.diff
Class DefaultNodeMatcher.DefaultNodeTypeMatcher
- java.lang.Object
-
- org.xmlunit.diff.DefaultNodeMatcher.DefaultNodeTypeMatcher
-
- All Implemented Interfaces:
DefaultNodeMatcher.NodeTypeMatcher
- Enclosing class:
- DefaultNodeMatcher
public static class DefaultNodeMatcher.DefaultNodeTypeMatcher extends java.lang.Object implements DefaultNodeMatcher.NodeTypeMatcher
DefaultNodeMatcher.NodeTypeMatcherthat marks pairs of nodes of the same node type as well as pairs of CDATA sections and text nodes as eligible.
-
-
Constructor Summary
Constructors Constructor Description DefaultNodeTypeMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBeCompared(short controlType, short testType)Determines whether two Nodes are eligible for comparison based on their node type.
-
-
-
Method Detail
-
canBeCompared
public boolean canBeCompared(short controlType, short testType)Description copied from interface:DefaultNodeMatcher.NodeTypeMatcherDetermines whether two Nodes are eligible for comparison based on their node type.- Specified by:
canBeComparedin interfaceDefaultNodeMatcher.NodeTypeMatcher
-
-