Package org.outerj.daisy.diff.tag
Class TagDiffer
java.lang.Object
org.outerj.daisy.diff.tag.TagDiffer
- All Implemented Interfaces:
TextDiffer
Takes 2 AtomSplitters and computes the difference between them. Output is
sent to a given
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddiff(IAtomSplitter leftComparator, IAtomSplitter rightComparator) Compares two Node Trees.
-
Constructor Details
-
TagDiffer
-
-
Method Details
-
diff
Compares two Node Trees.- Specified by:
diffin interfaceTextDiffer- Parameters:
leftComparator- Root of the first tree.rightComparator- Root of the second tree.- Throws:
Exception- something went wrong with parsing of the trees.
-