nsIRDFXMLSinkObserver

An observer that is notified as progress is made on the load
of an RDF/XML document in an nsIRDFXMLSink.

Methods

onBeginLoad(aSink)

Called when the load begins.

Parameters

aSink the RDF/XML sink on which the load is beginning.

onInterrupt(aSink)

Called when the load is suspended (e.g., for network quantization).

Parameters

aSink the RDF/XML sink that is being interrupted.

onResume(aSink)

Called when a suspended load is resuming.

Parameters

aSink the RDF/XML sink that is resuming.

onEndLoad(aSink)

Called when an RDF/XML load completes successfully.

Parameters

aSink the RDF/XML sink that has finished loading.

onError(aSink, aStatus, aErrorMsg)

Called when an error occurs during the load

Parameters

aSink the RDF/XML sink in which the error occurred
aStatus the networking result code
aErrorMsg an error message, if applicable