nsIRDFXMLSink

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

This interface is implemented by the following components:


Properties

PRBool readOnly

Set to true if the sink is read-only and cannot be modified


Methods

[noscript] void addNameSpace ( nsIAtomPtr prefix , nsStringRef URI ) void addXMLSinkObserver ( nsIRDFXMLSinkObserver observer ) void beginLoad ( ) void endLoad ( ) void interrupt ( ) void removeXMLSinkObserver ( nsIRDFXMLSinkObserver observer ) void resume ( )

void addNameSpace ( nsIAtomPtr prefix , nsStringRef URI )

Add namespace information to the RDF/XML sink.

Arguments:
prefix: the namespace prefix
URI: the namespace URI

void addXMLSinkObserver ( nsIRDFXMLSinkObserver observer )

Add an observer that will be notified as the RDF/XML load progresses.

Note that the sink will acquire a strong reference to the observer, so care should be taken to avoid cyclical references that cannot be released (i.e., if the observer holds a reference to the sink, it should be sure that it eventually clears the reference).

Arguments:
observer: the observer to add to the sink's set of load observers.

void beginLoad ( )

Initiate the RDF/XML load.


void endLoad ( )

Complete the RDF/XML load.


void interrupt ( )

Suspend the RDF/XML load.


void removeXMLSinkObserver ( nsIRDFXMLSinkObserver observer )

Remove an observer from the sink's set of observers.

Arguments:
observer: the observer to remove.

void resume ( )

Resume the RDF/XML load.


References

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

nsIRDFXMLSinkObserver.onBeginLoad, nsIRDFXMLSinkObserver.onEndLoad, nsIRDFXMLSinkObserver.onError, nsIRDFXMLSinkObserver.onInterrupt, nsIRDFXMLSinkObserver.onResume

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com