NEWSFLASH! This project has been made completely obsolete by GWT 1.5, which includes new DOM implementation classes. Please use GWT 1.5 from now on. Great minds think alike!!
The purpose of this project is to create a GWT module that allows GWT applications to manipulate the browser's document object model (DOM) using the Java DOM API's defined by the World Wide Web Consortium. The module is implemented by simply "wrapping" the underlying browser DOM implementation and consists mostly of JSNI methods that delegate to the equivalent properties and methods of the "wrapped" DOM object.
The result is an expansion in support for the types of documents GWT supports (basically any XML document type, including SVG) at the cost of a contraction in portability across browsers (because only browsers supporting a particular document type will work, and all of the quirks in the browser's DOM implementation are directly inherited by the module).
Therefore this module will be most useful in cases where GWT's output is targeting non-HTML documents rendered in specific browsers, e.g., SVG documents within Firefox.
The initial goal is basic event and SVG support. Eventually, more of the org.w3c.dom Java package hierarchy can be filled in.
Note: at this time, the GWT bootstrap code does not support non-HTML documents. Patches to add this support are included until if/when they are accepted into GWT itself (see this thread).
http://www.w3.org/TR/DOM-Level-2-Core/ http://www.w3.org/TR/DOM-Level-2-Events http://www.w3.org/TR/SVG/svgdom.html http://www.w3.org/TR/DOM-Level-2-HTML http://www.w3.org/TR/DOM-Level-2-Style/stylesheets