com.google.gwt.uibinder.rebind
Class W3cDomHelper

java.lang.Object
  extended by com.google.gwt.uibinder.rebind.W3cDomHelper

public class W3cDomHelper
extends java.lang.Object

Simplifies instantiation of the w3c XML parser, in just the style that UiBinder likes it. Used by both prod and test.


Constructor Summary
W3cDomHelper(TreeLogger logger, ResourceOracle resourceOracle)
           
 
Method Summary
 org.w3c.dom.Document documentFor(java.lang.String string, java.lang.String resourcePath)
          Creates an XML document model with the given contents.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W3cDomHelper

public W3cDomHelper(TreeLogger logger,
                    ResourceOracle resourceOracle)
Method Detail

documentFor

public org.w3c.dom.Document documentFor(java.lang.String string,
                                        java.lang.String resourcePath)
                                 throws org.xml.sax.SAXParseException
Creates an XML document model with the given contents.

Throws:
org.xml.sax.SAXParseException