Package org.xmlunit.diff
Interface DefaultNodeMatcher.NodeTypeMatcher
- All Known Implementing Classes:
DefaultNodeMatcher.DefaultNodeTypeMatcher
- Enclosing class:
- DefaultNodeMatcher
public static interface DefaultNodeMatcher.NodeTypeMatcher
Determines whether two Nodes are eligible for comparison based
on their node type.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeCompared
(short controlType, short testType) Determines whether two Nodes are eligible for comparison based on their node type.
-
Method Details
-
canBeCompared
boolean canBeCompared(short controlType, short testType) Determines whether two Nodes are eligible for comparison based on their node type.- Parameters:
controlType
- the node type of the control nodetestType
- the node type of the test node- Returns:
- whether two nodes of the given types are eligible for comparison
-