nsIRDFXMLParser

Methods

parseAsync(aSink, aBaseURI)

Create a stream listener that can be used to asynchronously
parse RDF/XML.

Parameters

aSink the RDF datasource the will receive the data
aBaseURI the base URI used to resolve relative references in the RDF/XML

Returns

an nsIStreamListener object to handle the data

parseString(aSink, aBaseURI, aSource)

Parse a string of RDF/XML

Parameters

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