Interface ElementQualifier

All Known Implementing Classes:
ElementNameAndAttributeQualifier, ElementNameAndTextQualifier, ElementNameQualifier, MultiLevelElementNameAndTextQualifier, RecursiveElementNameAndTextQualifier

public interface ElementQualifier
Interface used by the DifferenceEngine class to determine which elements can be compared within a NodeList of child nodes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether two elements are comparable
  • Method Details

    • qualifyForComparison

      boolean qualifyForComparison(Element control, Element test)
      Determine whether two elements are comparable
      Parameters:
      control - an Element from the control XML NodeList
      test - an Element from the test XML NodeList
      Returns:
      true if the elements are comparable, false otherwise