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.ObjectThe 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.StringparentXPathprivate org.w3c.dom.Nodetargetprivate java.lang.Objectvalueprivate java.lang.Stringxpath
-
Constructor Summary
Constructors Modifier Constructor Description privateDetail(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.StringgetParentXPath()XPath leading to the target's parent.org.w3c.dom.NodegetTarget()The actual target.java.lang.ObjectgetValue()The value for comparison found at the current target.java.lang.StringgetXPath()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.
-
-