Class XppDomComparator
java.lang.Object
com.thoughtworks.xstream.io.xml.xppdom.XppDomComparator
- All Implemented Interfaces:
Comparator
Comparator for
XppDom. Comparator can trace the XPath where the comparison failed.- Since:
- 1.4.1
- Author:
- Jörg Schaible
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Xpp3DomComparator object.XppDomComparator(ThreadLocal xpath) Creates a new Xpp3DomComparator object with XPath identification. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
XppDomComparator
public XppDomComparator()Creates a new Xpp3DomComparator object.- Since:
- 1.4.1
-
XppDomComparator
Creates a new Xpp3DomComparator object with XPath identification.- Parameters:
xpath- the reference for the XPath- Since:
- 1.4.1
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator
-