Class DefaultNodeMatcher.DefaultNodeTypeMatcher

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canBeCompared​(short controlType, short testType)
      Determines whether two Nodes are eligible for comparison based on their node type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultNodeTypeMatcher

        public DefaultNodeTypeMatcher()
    • Method Detail

      • canBeCompared

        public boolean canBeCompared​(short controlType,
                                     short testType)
        Description copied from interface: DefaultNodeMatcher.NodeTypeMatcher
        Determines whether two Nodes are eligible for comparison based on their node type.
        Specified by:
        canBeCompared in interface DefaultNodeMatcher.NodeTypeMatcher
        Parameters:
        controlType - the node type of the control node
        testType - the node type of the test node
        Returns:
        whether two nodes of the given types are eligible for comparison