Struct xpcom::interfaces::nsIRDFXMLParser
[−]
[src]
#[repr(C)]pub struct nsIRDFXMLParser { /* fields omitted */ }
interface nsIRDFXMLParser : nsISupports
Methods
impl nsIRDFXMLParser
[src]
pub fn coerce<T: nsIRDFXMLParserCoerce>(&self) -> &T
[src]
Cast this nsIRDFXMLParser
to one of its base interfaces.
impl nsIRDFXMLParser
[src]
pub unsafe fn ParseAsync(
&self,
aSink: *const nsIRDFDataSource,
aBaseURI: *const nsIURI,
_retval: *mut *const nsIStreamListener
) -> nsresult
[src]
&self,
aSink: *const nsIRDFDataSource,
aBaseURI: *const nsIURI,
_retval: *mut *const nsIStreamListener
) -> nsresult
/**
* 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);
pub unsafe fn ParseString(
&self,
aSink: *const nsIRDFDataSource,
aBaseURI: *const nsIURI,
aSource: &nsACString
) -> nsresult
[src]
&self,
aSink: *const nsIRDFDataSource,
aBaseURI: *const nsIURI,
aSource: &nsACString
) -> nsresult
/**
* 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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIRDFXMLParser
[src]
const IID: nsIID
IID: nsIID = nsID(405921070, 7634, 4530, [189, 179, 134, 183, 181, 11, 112, 181])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIRDFXMLParser
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.