@mozilla.org/rdf/datasource;1?name=composite-datasource

This component implements the following interfaces:

Properties

PRBool nsIRDFCompositeDataSource.allowNegativeAssertions

Set this value to true if the composite datasource may contains at least one datasource that has negative assertions. (This is the default.)

Set this value to false if none of the datasources being composed contains a negative assertion. This allows the composite datasource to perform some query optimizations.

By default, this value is true.

PRBool nsIRDFCompositeDataSource.coalesceDuplicateArcs

Set to true if the composite datasource should take care to coalesce duplicate arcs when returning values from queries. (This is the default.)

Set to false if the composite datasource shouldn't bother to check for duplicates. This allows the composite datasource to more efficiently answer queries.

By default, this value is true.

readonly char* nsIRDFDataSource.URI

The "URI" of the data source. This used by the RDF service's GetDataSource() method to cache datasources.

Methods

InterfaceMethod
nsIRDFCompositeDataSource void AddDataSource ( nsIRDFDataSource dataSource )
nsIRDFDataSource void AddObserver ( nsIRDFObserver observer )
nsIRDFDataSource nsISimpleEnumerator ArcLabelsIn ( nsIRDFNode node )
nsIRDFDataSource nsISimpleEnumerator ArcLabelsOut ( nsIRDFResource source )
nsIRDFDataSource void Assert ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource void beginUpdateBatch ( )
nsIRDFDataSource void Change ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode oldTarget , nsIRDFNode newTarget )
nsIRDFDataSource void DoCommand ( nsISupportsArray sources , nsIRDFResource command , nsISupportsArray arguments )
nsIRDFDataSource void endUpdateBatch ( )
nsIRDFDataSource nsISimpleEnumerator GetAllCmds ( nsIRDFResource source )
nsIRDFDataSource nsISimpleEnumerator GetAllResources ( )
nsIRDFCompositeDataSource nsISimpleEnumerator GetDataSources ( )
nsIRDFDataSource nsIRDFResource GetSource ( nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource nsISimpleEnumerator GetSources ( nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource nsIRDFNode GetTarget ( nsIRDFResource source , nsIRDFResource property , PRBool truthValue )
nsIRDFDataSource nsISimpleEnumerator GetTargets ( nsIRDFResource source , nsIRDFResource property , PRBool truthValue )
nsIRDFDataSource PRBool hasArcIn ( nsIRDFNode node , nsIRDFResource arc )
nsIRDFDataSource PRBool hasArcOut ( nsIRDFResource source , nsIRDFResource arc )
nsIRDFDataSource PRBool HasAssertion ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target , PRBool truthValue )
nsIRDFDataSource PRBool IsCommandEnabled ( nsISupportsArray sources , nsIRDFResource command , nsISupportsArray arguments )
nsIRDFDataSource void Move ( nsIRDFResource oldSource , nsIRDFResource newSource , nsIRDFResource property , nsIRDFNode target )
nsIRDFObserver void onAssert ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )
nsIRDFObserver void onBeginUpdateBatch ( nsIRDFDataSource dataSource )
nsIRDFObserver void onChange ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode oldTarget , nsIRDFNode newTarget )
nsIRDFObserver void onEndUpdateBatch ( nsIRDFDataSource dataSource )
nsIRDFObserver void onMove ( nsIRDFDataSource dataSource , nsIRDFResource oldSource , nsIRDFResource newSource , nsIRDFResource property , nsIRDFNode target )
nsIRDFObserver void onUnassert ( nsIRDFDataSource dataSource , nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )
nsIRDFCompositeDataSource void RemoveDataSource ( nsIRDFDataSource dataSource )
nsIRDFDataSource void RemoveObserver ( nsIRDFObserver observer )
nsIRDFDataSource void Unassert ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com