WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

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.

Copyright © 1999-2006 XULPlanet.com