Package org.xmlunit.diff
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetParentXPath()XPath leading to the target's parent.NodegetTarget()The actual target.ObjectgetValue()The value for comparison found at the current target.StringgetXPath()XPath leading to the target.
-
-
-
Method Detail
-
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
-
-