Interface ElementSelector

All Known Implementing Classes:
ByNameAndTextRecSelector, MultiLevelByNameAndTextSelector, NewDifferenceEngine.ElementQualifier2ElementSelector

public interface ElementSelector
Strategy used by DefaultNodeMatcher for selecting matching elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBeCompared(Element controlElement, Element testElement)
    Determine whether the two elements from the control and test XML can be compared.
  • Method Details

    • canBeCompared

      boolean canBeCompared(Element controlElement, Element testElement)
      Determine whether the two elements from the control and test XML can be compared.
      Parameters:
      controlElement - element of the control XML
      testElement - element of the test XML
      Returns:
      true if the two elements can be compared