Class DefaultConditionalSelectorBuilder.ConditionalSelector

java.lang.Object
org.xmlunit.diff.DefaultConditionalSelectorBuilder.ConditionalSelector
All Implemented Interfaces:
ElementSelector
Enclosing class:
DefaultConditionalSelectorBuilder

private static class DefaultConditionalSelectorBuilder.ConditionalSelector extends Object implements ElementSelector
  • Field Details

  • Constructor Details

  • Method Details

    • canBeCompared

      public boolean canBeCompared(Element controlElement, Element testElement)
      Description copied from interface: ElementSelector
      Determine whether the two elements from the control and test XML can be compared.
      Specified by:
      canBeCompared in interface ElementSelector
      Parameters:
      controlElement - element of the control XML
      testElement - element of the test XML
      Returns:
      true if the two elements can be compared