public class XppDomComparator
extends java.lang.Object
implements java.util.Comparator
XppDom
. Comparator can trace the XPath where the comparison failed.Constructor and Description |
---|
XppDomComparator()
Creates a new Xpp3DomComparator object.
|
XppDomComparator(java.lang.ThreadLocal xpath)
Creates a new Xpp3DomComparator object with XPath identification.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object dom1,
java.lang.Object dom2) |
public XppDomComparator()
public XppDomComparator(java.lang.ThreadLocal xpath)
xpath
- the reference for the XPathCopyright © 2004–2022 XStream. All rights reserved.