I have a very simple problem that I was hoping I can solve with GWT's deffered binding. I have a large amount of code that was programmed to the org.w3c.dom.* interfaces. I don't want to change this code so I was hoping that I could swap out these classes at compile time.Something like this (even though it doesn't work):\[code\]<replace-with class="com.google.gwt.dom.client.Document"> <when-type-is class="org.w3c.dom.Document"/> </replace-with>\[/code\]From my understanding I think the problem here is that both of my classes need to implement the same interface. Which, correct me if I am wrong, leaves me in a situation where I will need to rework a lot of things to make this do what I need.I was hoping there was a simpler solution?Thanks,Casey