Struct xpcom::interfaces::nsIRDFXMLParser [] [src]

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

interface nsIRDFXMLParser : nsISupports

Methods

impl nsIRDFXMLParser
[src]

[src]

Cast this nsIRDFXMLParser to one of its base interfaces.

impl nsIRDFXMLParser
[src]

[src]

/**
     * Create a stream listener that can be used to asynchronously
     * parse RDF/XML.
     * @param aSink the RDF datasource the will receive the data
     * @param aBaseURI the base URI used to resolve relative
     *   references in the RDF/XML
     * @return an nsIStreamListener object to handle the data
     */

nsIStreamListener parseAsync (in nsIRDFDataSource aSink, in nsIURI aBaseURI);

[src]

/**
     * Parse a string of RDF/XML
     * @param aSink the RDF datasource that will receive the data
     * @param aBaseURI the base URI used to resolve relative
     *   references in the RDF/XML
     * @param aSource a UTF8 string containing RDF/XML data.
     */

void parseString (in nsIRDFDataSource aSink, in nsIURI aBaseURI, in AUTF8String aSource);

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 nsIRDFXMLParser
[src]

IID: nsIID = nsID(405921070, 7634, 4530, [189, 179, 134, 183, 181, 11, 112, 181])

[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 nsIRDFXMLParser
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIRDFXMLParser
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.