Class Comparison.Detail

java.lang.Object
org.xmlunit.diff.Comparison.Detail
Enclosing class:
Comparison

public static class Comparison.Detail extends Object
The details of a target (usually some representation of an XML Node) that took part in the comparison.
  • Method Details

    • getTarget

      public Node getTarget()
      The actual target.
      Returns:
      the actual target
    • getXPath

      public String getXPath()
      XPath leading to the target.
      Returns:
      XPath leading to the target
    • getValue

      public Object getValue()
      The value for comparison found at the current target.
      Returns:
      the value for comparison found at the current target
    • getParentXPath

      public String getParentXPath()
      XPath leading to the target's parent.
      Returns:
      XPath leading to the target's parent