Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIRDFXMLSink Interface Reference

A "sink" that receives and processes RDF/XML. More...

import "nsIRDFXMLSink.idl";

Inheritance diagram for nsIRDFXMLSink:
Inheritance graph
[legend]
Collaboration diagram for nsIRDFXMLSink:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void beginLoad ()
 Initiate the RDF/XML load.
void interrupt ()
 Suspend the RDF/XML load.
void resume ()
 Resume the RDF/XML load.
void endLoad ()
 Complete the RDF/XML load.
void addNameSpace (in nsIAtomPtr aPrefix,[const ] in nsStringRef aURI)
 Add namespace information to the RDF/XML sink.
void addXMLSinkObserver (in nsIRDFXMLSinkObserver aObserver)
 Add an observer that will be notified as the RDF/XML load progresses.
void removeXMLSinkObserver (in nsIRDFXMLSinkObserver aObserver)
 Remove an observer from the sink's set of observers.

Public Attributes

attribute boolean readOnly
 Set to true if the sink is read-only and cannot be modified.

Detailed Description

A "sink" that receives and processes RDF/XML.

This interface is used by the RDF/XML parser.

Definition at line 104 of file nsIRDFXMLSink.idl.


Member Function Documentation

void nsIRDFXMLSink::addNameSpace ( in nsIAtomPtr  aPrefix,
[const ] in nsStringRef  aURI 
)

Add namespace information to the RDF/XML sink.

Parameters:
aPrefixthe namespace prefix
aURIthe namespace URI

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).

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

Initiate the RDF/XML load.

Complete the RDF/XML load.

Suspend the RDF/XML load.

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

Parameters:
aObserverthe observer to remove.

Resume the RDF/XML load.


Member Data Documentation

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

Definition at line 110 of file nsIRDFXMLSink.idl.


The documentation for this interface was generated from the following file: