Class DefaultNodeMatcher.DefaultNodeTypeMatcher

    • 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