@NotThreadSafe public abstract class AbstractComparator extends Object implements Comparator
| Constructor and Description |
|---|
AbstractComparator() |
| Modifier and Type | Method and Description |
|---|---|
List<org.custommonkey.xmlunit.Difference> |
getDifferences(String oldDom,
String newDom) |
boolean |
isEquivalent(String oldDom,
String newDom) |
String |
normalize(String dom)
Override this method to apply normalization to the comparison.
|
public List<org.custommonkey.xmlunit.Difference> getDifferences(String oldDom, String newDom)
getDifferences in interface Comparatorpublic boolean isEquivalent(String oldDom, String newDom)
isEquivalent in interface Comparatorpublic String normalize(String dom)
normalize in interface Comparatordom - The original DOMCopyright © 2007-2013. All Rights Reserved.