public class TagDiffer extends Object implements TextDiffer
HTMLSaxDiffOutput and tags are diffed
internally on a second iteration. The results are processed as to combine
small subsequent changes in to larger changes.| Constructor and Description |
|---|
TagDiffer(TextDiffOutput output) |
| Modifier and Type | Method and Description |
|---|---|
void |
diff(IAtomSplitter leftComparator,
IAtomSplitter rightComparator)
Compares two Node Trees.
|
public TagDiffer(TextDiffOutput output)
public void diff(IAtomSplitter leftComparator, IAtomSplitter rightComparator) throws Exception
diff in interface TextDifferleftComparator - Root of the first tree.rightComparator - Root of the second tree.Exception - something went wrong with parsing of the trees.Copyright © 2022. All rights reserved.