public interface AsyncXmlLoaderCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(String resourceName,
Throwable error)
Method invoked if the resource could not be fetched
|
void |
onSuccess(String resourceName,
com.google.gwt.dom.client.Element root)
Method invoked if the resource has successfully been loaded
|
void onError(String resourceName, Throwable error)
resourceName
- The name of the resourceerror
- An error describing why the resource could not be fetched.void onSuccess(String resourceName, com.google.gwt.dom.client.Element root)
resourceName
- The name of the resourceroot
- The root elment of the XML document corresponding to the resourceCopyright © 2018. All Rights Reserved.