| java.lang.Object org.outerj.daisy.diff.html.TextNodeComparator
TextNodeComparator | public class TextNodeComparator implements IRangeComparator,Iterable<TextNode>(Code) | | A comparator that generates a DOM tree of sorts from handling SAX events.
Then it can be used to compute the difference between DOM trees and mark
elements accordingly.
|
Method Summary | |
public void | expandWhiteSpace() | public BodyNode | getBodyNode() | public int | getRangeCount() | public TextNode | getTextNode(int i) | public void | handlePossibleChangedPart(int leftstart, int leftend, int rightstart, int rightend, TextNodeComparator leftComparator) | public Iterator<TextNode> | iterator() | public void | markAsDeleted(int start, int end, TextNodeComparator oldComp, int before) | public void | markAsNew(int start, int end) | public boolean | rangesEqual(int i1, IRangeComparator rangeComp, int i2) | public boolean | skipRangeComparison(int arg0, int arg1, IRangeComparator arg2) |
expandWhiteSpace | public void expandWhiteSpace()(Code) | | |
getRangeCount | public int getRangeCount()(Code) | | |
handlePossibleChangedPart | public void handlePossibleChangedPart(int leftstart, int leftend, int rightstart, int rightend, TextNodeComparator leftComparator)(Code) | | |
markAsNew | public void markAsNew(int start, int end)(Code) | | |
|
|