Package org.xmlunit.diff
Class Comparison.Detail
- java.lang.Object
-
- org.xmlunit.diff.Comparison.Detail
-
- Enclosing class:
- Comparison
public static class Comparison.Detail extends java.lang.Object
The details of a target (usually some representation of an XML Node) that took part in the comparison.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
parentXPath
private org.w3c.dom.Node
target
private java.lang.Object
value
private java.lang.String
xpath
-
Constructor Summary
Constructors Modifier Constructor Description private
Detail(org.w3c.dom.Node n, java.lang.String x, java.lang.Object v, java.lang.String parentX)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParentXPath()
XPath leading to the target's parent.org.w3c.dom.Node
getTarget()
The actual target.java.lang.Object
getValue()
The value for comparison found at the current target.java.lang.String
getXPath()
XPath leading to the target.
-
-
-
Method Detail
-
getTarget
public org.w3c.dom.Node getTarget()
The actual target.
-
getXPath
public java.lang.String getXPath()
XPath leading to the target.
-
getValue
public java.lang.Object getValue()
The value for comparison found at the current target.
-
getParentXPath
public java.lang.String getParentXPath()
XPath leading to the target's parent.
-
-