Struct xpcom::interfaces::nsIRDFXMLSink [] [src]

#[repr(C)]
pub struct nsIRDFXMLSink { /* fields omitted */ }

interface nsIRDFXMLSink : nsISupports

Methods

impl nsIRDFXMLSink
[src]

[src]

Cast this nsIRDFXMLSink to one of its base interfaces.

impl nsIRDFXMLSink
[src]

[src]

/**
 * A "sink" that receives and processes RDF/XML. This interface is used
 * by the RDF/XML parser.
 */
/**
     * Set to <code>true</code> if the sink is read-only and cannot
     * be modified
     */

attribute boolean readOnly;

[src]

/**
 * A "sink" that receives and processes RDF/XML. This interface is used
 * by the RDF/XML parser.
 */
/**
     * Set to <code>true</code> if the sink is read-only and cannot
     * be modified
     */

attribute boolean readOnly;

[src]

/**
     * Initiate the RDF/XML load.
     */

void beginLoad ();

[src]

/**
     * Suspend the RDF/XML load.
     */

void interrupt ();

[src]

/**
     * Resume the RDF/XML load.
     */

void resume ();

[src]

/**
     * Complete the RDF/XML load.
     */

void endLoad ();

[src]

/**
     * Add an observer that will be notified as the RDF/XML load
     * progresses.
     * <p>
     *
     * 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).
     *
     * @param aObserver the observer to add to the sink's set of
     * load observers.
     */

void addXMLSinkObserver (in nsIRDFXMLSinkObserver aObserver);

[src]

/**
     * Remove an observer from the sink's set of observers.
     * @param aObserver the observer to remove.
     */

void removeXMLSinkObserver (in nsIRDFXMLSinkObserver aObserver);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIRDFXMLSink
[src]

IID: nsIID = nsID(3944373553, 43827, 4562, [142, 198, 0, 128, 95, 41, 243, 112])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIRDFXMLSink
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIRDFXMLSink
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.