static Element convertToElements(Widget widget, Element tmpElem, SafeHtml html) {
        // Attach an event listener so we can catch synchronous load events from
        // cached images.
        DOM.setEventListener(tmpElem, widget);

        tmpElem.setInnerSafeHtml(html);

        // Detach the event listener.
        DOM.setEventListener(tmpElem, null);

        return tmpElem;
    }
Convenience method to convert the specified HTML into DOM elements and
return the parent of the DOM elements.

@param html the HTML to convert
@param tmpElem a temporary element
@return the parent element
stroom-core-client-widget/src/main/java/com/google/gwt/user/cellview/client/AbstractHasData.java