public class XMLComparer
extends java.lang.Object
Constructor and Description |
---|
XMLComparer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAttributeEqual(org.w3c.dom.Attr control,
org.w3c.dom.Attr test) |
boolean |
isIgnoreOrder() |
boolean |
isNodeEqual(org.w3c.dom.Node control,
org.w3c.dom.Node test)
Compare two DOM nodes.
|
void |
setIgnoreOrder(boolean ignoreOrder) |
public boolean isNodeEqual(org.w3c.dom.Node control, org.w3c.dom.Node test)
control
- The first node in the comparison.test
- The second node in the comparison.protected boolean isAttributeEqual(org.w3c.dom.Attr control, org.w3c.dom.Attr test)
public boolean isIgnoreOrder()
public void setIgnoreOrder(boolean ignoreOrder)