@Role
public interface XMLDiffMarker
Modifier and Type | Method and Description |
---|---|
boolean |
markDiff(Node left,
Node right,
XMLDiffConfiguration config)
Computes the differences between two XML fragments rooted in the given nodes and then marks the changes by
modifying these nodes and their descendants, depending on the implementation.
|
boolean markDiff(Node left, Node right, XMLDiffConfiguration config) throws DiffException
Note that this method can return false
(i.e. no markers added) even if there are differences between left
and right, if the implementation doesn't consider the changes to be significant (e.g. there's no visual
difference).
left
- the left side of the comparisonright
- the right side of the comparisonconfig
- the configurationtrue
if there is at least one difference between left and right side that has been marked,
false
otherwiseDiffException
- if we fail to compute the differenceCopyright © 2004–2021 XWiki. All rights reserved.