protected void |
DifferenceEngine.compare(java.lang.Object expected,
java.lang.Object actual,
org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
Difference difference) |
If the expected and actual values are unequal then inform the listener of
a difference and throw a DifferenceFoundException.
|
protected void |
DifferenceEngine.compare(java.lang.Object expected,
java.lang.Object actual,
org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
Difference difference,
XpathNodeTracker controlLoc,
XpathNodeTracker testLoc) |
If the expected and actual values are unequal then inform the listener of
a difference and throw a DifferenceFoundException.
|
void |
DifferenceEngine.compare(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Entry point for Node comparison testing.
|
void |
DifferenceEngineContract.compare(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Entry point for Node comparison testing.
|
void |
NewDifferenceEngine.compare(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Entry point for Node comparison testing.
|
protected void |
DifferenceEngine.compareAttribute(org.w3c.dom.Attr control,
org.w3c.dom.Attr test,
DifferenceListener listener) |
Compare two attributes
|
protected void |
DifferenceEngine.compareCDataSection(org.w3c.dom.CDATASection control,
org.w3c.dom.CDATASection test,
DifferenceListener listener) |
Compare two CDATA sections - unused, kept for backwards compatibility
|
private void |
DifferenceEngine.compareCharacterData(org.w3c.dom.CharacterData control,
org.w3c.dom.CharacterData test,
DifferenceListener listener,
Difference difference) |
Character comparison method used by comments, text and CDATA sections
|
protected void |
DifferenceEngine.compareComment(org.w3c.dom.Comment control,
org.w3c.dom.Comment test,
DifferenceListener listener) |
Compare two comments
|
protected void |
DifferenceEngine.compareDocument(org.w3c.dom.Document control,
org.w3c.dom.Document test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Compare two Documents for doctype and then element differences
|
protected void |
DifferenceEngine.compareDocumentType(org.w3c.dom.DocumentType control,
org.w3c.dom.DocumentType test,
DifferenceListener listener) |
Compare two DocumentType nodes
|
protected void |
DifferenceEngine.compareElement(org.w3c.dom.Element control,
org.w3c.dom.Element test,
DifferenceListener listener) |
Compare 2 elements and their attributes
|
(package private) void |
DifferenceEngine.compareElementAttributes(org.w3c.dom.Element control,
org.w3c.dom.Element test,
org.w3c.dom.NamedNodeMap controlAttr,
org.w3c.dom.NamedNodeMap testAttr,
DifferenceListener listener) |
|
protected void |
DifferenceEngine.compareHasChildNodes(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener) |
Compare the number of children, and if the same, compare the actual
children via their NodeLists.
|
protected void |
DifferenceEngine.compareNode(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
First point of call: if nodes are comparable it compares node values then
recurses to compare node children.
|
protected boolean |
DifferenceEngine.compareNodeBasics(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener) |
Compares node type and node namespace characteristics: basically
determines if nodes are comparable further
|
protected void |
DifferenceEngine.compareNodeChildren(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Compare the number of children, and if the same, compare the actual
children via their NodeLists.
|
protected void |
DifferenceEngine.compareNodeList(java.util.List<org.w3c.dom.Node> controlChildren,
java.util.List<org.w3c.dom.Node> testChildren,
int numNodes,
DifferenceListener listener,
ElementQualifier elementQualifier) |
Compare the contents of two node list one by one, assuming that order
of children is NOT important: matching begins at same position in test
list as control list.
|
protected void |
DifferenceEngine.compareProcessingInstruction(org.w3c.dom.ProcessingInstruction control,
org.w3c.dom.ProcessingInstruction test,
DifferenceListener listener) |
Compare two processing instructions
|
protected void |
DifferenceEngine.compareRecognizedXMLSchemaInstanceAttribute(org.w3c.dom.Attr control,
org.w3c.dom.Attr test,
DifferenceListener listener) |
Compare two attributes
|
protected void |
DifferenceEngine.compareText(org.w3c.dom.CharacterData control,
org.w3c.dom.CharacterData test,
DifferenceListener listener) |
Compare text
|
protected void |
DifferenceEngine.compareText(org.w3c.dom.Text control,
org.w3c.dom.Text test,
DifferenceListener listener) |
Compare text - unused, kept for backwards compatibility
|
private void |
DifferenceEngine.missingNode(org.w3c.dom.Node control,
org.w3c.dom.Node test,
DifferenceListener listener) |
|
void |
Diff.overrideDifferenceListener(DifferenceListener delegate) |
Override the DifferenceListener used to determine how
to handle differences that are found.
|