An observer that is notified as progress is made on the load of an RDF/XML document in an <code>nsIRDFXMLSink</code>.
[scriptable, uuid(eb1a5d30-ab33-11d2-8ec6-00805f29f370)]
interface nsIRDFXMLSinkObserver : nsISupports
Methods
Called when the load begins. @param aSink the RDF/XML sink on which the load is beginning.
void
onBeginLoad(in nsIRDFXMLSink aSink)
Called when an RDF/XML load completes successfully. @param aSink the RDF/XML sink that has finished loading.
void
onEndLoad(in nsIRDFXMLSink aSink)
Called when an error occurs during the load @param aSink the RDF/XML sink in which the error occurred @param aStatus the networking result code @param aErrorMsg an error message, if applicable
void
onError(in nsIRDFXMLSink aSink, in nsresult aStatus, in wstring aErrorMsg)
Called when the load is suspended (e.g., for network quantization). @param aSink the RDF/XML sink that is being interrupted.
void
onInterrupt(in nsIRDFXMLSink aSink)
Called when a suspended load is resuming. @param aSink the RDF/XML sink that is resuming.
void
onResume(in nsIRDFXMLSink aSink)
Compare to: