public class XppDomComparator extends Object implements Comparator
XppDom. Comparator can trace the XPath where the comparison failed.| Constructor and Description |
|---|
XppDomComparator()
Creates a new Xpp3DomComparator object.
|
XppDomComparator(ThreadLocal xpath)
Creates a new Xpp3DomComparator object with XPath identification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object dom1,
Object dom2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic XppDomComparator()
public XppDomComparator(ThreadLocal xpath)
xpath - the reference for the XPathpublic int compare(Object dom1, Object dom2)
compare in interface ComparatorCopyright © 2004–2017 XStream. All rights reserved.