WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIRDFXMLSinkObserver

IID:EB1A5D30-AB33-11D2-8EC6-00805F29F370
Inherits From:nsISupports

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


Methods

void onBeginLoad ( nsIRDFXMLSink sink ) void onEndLoad ( nsIRDFXMLSink sink ) void onError ( nsIRDFXMLSink sink , nsresult status , PRUnichar* errorMsg ) void onInterrupt ( nsIRDFXMLSink sink ) void onResume ( nsIRDFXMLSink sink )

void onBeginLoad ( nsIRDFXMLSink sink )

Called when the load begins.

Arguments:
sink: the RDF/XML sink on which the load is beginning.

void onEndLoad ( nsIRDFXMLSink sink )

Called when an RDF/XML load completes successfully.

Arguments:
sink: the RDF/XML sink that has finished loading.

void onError ( nsIRDFXMLSink sink , nsresult status , PRUnichar* errorMsg )

Called when an error occurs during the load

Arguments:
sink: the RDF/XML sink in which the error occurred
status: the networking result code
errorMsg: an error message, if applicable

void onInterrupt ( nsIRDFXMLSink sink )

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

Arguments:
sink: the RDF/XML sink that is being interrupted.

void onResume ( nsIRDFXMLSink sink )

Called when a suspended load is resuming.

Arguments:
sink: the RDF/XML sink that is resuming.

References

This interface is passed as an argument to the following methods:

nsIRDFXMLSink.addXMLSinkObserver, nsIRDFXMLSink.removeXMLSinkObserver

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com