no.ntnu.ime.xmlconverter.client
Interface XMLSourceParserServiceAsync


public interface XMLSourceParserServiceAsync


Method Summary
 void isValidSourceURI(java.lang.String sourceAdress, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
          Returns true if the given string is a valid resource locator for the XML data.
 void parseXMLSource(java.lang.String sourceAdress, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
           
 void retrieveXMLSource(java.lang.String sourceAddress, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
          Retrieves the XML Source to disk.
 

Method Detail

isValidSourceURI

void isValidSourceURI(java.lang.String sourceAdress,
                      com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
Returns true if the given string is a valid resource locator for the XML data.

Parameters:
sourceAdress -
Throws:
ValidSourceException

retrieveXMLSource

void retrieveXMLSource(java.lang.String sourceAddress,
                       com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Retrieves the XML Source to disk. Returns a session ID for the source.

Parameters:
sourceAddress -
Throws:
MalformedURLException
IOException

parseXMLSource

void parseXMLSource(java.lang.String sourceAdress,
                    com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)