nsIRDFService

IID:BFD05261-834C-11d2-8EAC-00805F29F370
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

nsIRDFResource GetAnonymousResource ( ) [noscript] nsIRDFBlob getBlobLiteral ( const_octet_ptr* value , PRInt32 length ) nsIRDFDataSource GetDataSource ( char* URI ) nsIRDFDataSource GetDataSourceBlocking ( char* URI ) nsIRDFDate GetDateLiteral ( PRInt64 value ) nsIRDFInt GetIntLiteral ( PRInt32 value ) nsIRDFLiteral GetLiteral ( PRUnichar* value ) nsIRDFResource GetResource ( AUTF8String URI ) nsIRDFResource GetUnicodeResource ( AString URI ) PRBool IsAnonymousResource ( nsIRDFResource resource ) void RegisterDataSource ( nsIRDFDataSource dataSource , PRBool replace ) void RegisterResource ( nsIRDFResource resource , PRBool replace ) void UnregisterDataSource ( nsIRDFDataSource dataSource ) void UnregisterResource ( nsIRDFResource resource )

nsIRDFResource GetAnonymousResource ( )


nsIRDFBlob getBlobLiteral ( const_octet_ptr* value , PRInt32 length )

Arguments:
value
length

nsIRDFDataSource GetDataSource ( char* URI )

Arguments:
URI

nsIRDFDataSource GetDataSourceBlocking ( char* URI )

Arguments:
URI

nsIRDFDate GetDateLiteral ( PRInt64 value )

Arguments:
value

nsIRDFInt GetIntLiteral ( PRInt32 value )

Arguments:
value

nsIRDFLiteral GetLiteral ( PRUnichar* value )

Arguments:
value

nsIRDFResource GetResource ( AUTF8String URI )

Arguments:
URI

nsIRDFResource GetUnicodeResource ( AString URI )

Arguments:
URI

PRBool IsAnonymousResource ( nsIRDFResource resource )

Arguments:
resource

void RegisterDataSource ( nsIRDFDataSource dataSource , PRBool replace )

Arguments:
dataSource
replace

void RegisterResource ( nsIRDFResource resource , PRBool replace )

Arguments:
resource
replace

void UnregisterDataSource ( nsIRDFDataSource dataSource )

Arguments:
dataSource

void UnregisterResource ( nsIRDFResource resource )

Arguments:
resource

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
August 23, 2004, 7:13 am cstehlin at sejer dot fr
GetDataSourceBlocking works correctly on a local file, except when this file is also used as a source for a template. In such case, the call does not block.

Indeed, it will already be in process of being loaded by the template. If this isn't what you want, add the datasource later. - Neil

Copyright © 1999 - 2005 XULPlanet.com