* @param normalizedAnnotation
*/
public void fillBufferAndSetSelection(Node htmlFragment, XmlStringBuilder waveXml,
Iterable<RangedAnnotation<String>> normalizedAnnotation, boolean restoreSelection) {
Element parent = Document.get().createDivElement();
parent.appendChild(htmlFragment);
PointRange<Node> selection =
new PointRange<Node>(Point.inElement(parent, htmlFragment), Point.<Node> end(parent));
fillBufferAndSetSelection(parent, selection, waveXml, normalizedAnnotation, restoreSelection);
}