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 Type
    Method
    Description
    boolean
    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 node
      testType - the node type of the test node
      Returns:
      whether two nodes of the given types are eligible for comparison