Package org.xmlunit.diff
Interface DefaultNodeMatcher.NodeTypeMatcher
-
- All Known Implementing Classes:
DefaultNodeMatcher.DefaultNodeTypeMatcher
- Enclosing class:
- DefaultNodeMatcher
public static interface DefaultNodeMatcher.NodeTypeMatcherDetermines whether two Nodes are eligible for comparison based on their node type.
-
-
Method Summary
All Methods Instance Methods Abstract 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
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
-
-