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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public XppDomComparator()
public XppDomComparator(ThreadLocal xpath)
xpath
- the reference for the XPathpublic int compare(Object dom1, Object dom2)
compare
in interface Comparator
Copyright © 2004–2017 XStream. All rights reserved.