nsIRDFXMLParser

IID:1831dd2e-1dd2-11b2-bdb3-86b7b50b70b5
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

nsIStreamListener parseAsync ( nsIRDFDataSource sink , nsIURI baseURI ) void parseString ( nsIRDFDataSource sink , nsIURI baseURI , AUTF8String source )

nsIStreamListener parseAsync ( nsIRDFDataSource sink , nsIURI baseURI )

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

Arguments:
sink: the RDF datasource the will receive the data
baseURI: the base URI used to resolve relative references in the RDF/XML
Returns:
nsIStreamListener object to handle the data

void parseString ( nsIRDFDataSource sink , nsIURI baseURI , AUTF8String source )

Parse a string of RDF/XML

Arguments:
sink: the RDF datasource that will receive the data
baseURI: the base URI used to resolve relative references in the RDF/XML
source: a UTF8 string containing RDF/XML data.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com