org.vectomatic.dom.svg.utils
Class HttpRequestXmlLoader

java.lang.Object
  extended by org.vectomatic.dom.svg.utils.HttpRequestXmlLoader
All Implemented Interfaces:
AsyncXmlLoader

public class HttpRequestXmlLoader
extends Object
implements AsyncXmlLoader

Implementation of the AsyncXmlLoader based on RequestBuilder.


Constructor Summary
HttpRequestXmlLoader()
           
 
Method Summary
 void loadResource(String resourceUrl, AsyncXmlLoaderCallback callback)
          Initiates a request to load an XML resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestXmlLoader

public HttpRequestXmlLoader()
Method Detail

loadResource

public void loadResource(String resourceUrl,
                         AsyncXmlLoaderCallback callback)
Description copied from interface: AsyncXmlLoader
Initiates a request to load an XML resource

Specified by:
loadResource in interface AsyncXmlLoader
Parameters:
resourceUrl - The resource to load
callback - A callback invoked to process the resource once it is loaded


Copyright © 2012. All Rights Reserved.