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.

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

This component implements the following interfaces:

Constants

An address book, mailing list or card is added.
abListenerNotifyFlagValue nsIAbListener.itemAdded = 1
A mailing list or card is removed from an address book.
abListenerNotifyFlagValue nsIAbListener.directoryItemRemoved = 2
An address book is removed
abListenerNotifyFlagValue nsIAbListener.directoryRemoved = 4
An address book, mailing list or card is changed.
abListenerNotifyFlagValue nsIAbListener.itemChanged = 8
All of the above notifications are to be received.
abListenerNotifyFlagValue nsIAbListener.all = -1

Properties

readonly char* nsIRDFDataSource.URI

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

Methods

InterfaceMethod
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 ( )
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 )
nsISupportsWeakReference nsIWeakReference GetWeakReference ( )
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 )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIAbListener void onItemAdded ( nsISupports parentDir , nsISupports item )
nsIAbListener void onItemPropertyChanged ( nsISupports item , char* property , PRUnichar* oldValue , PRUnichar* newValue )
nsIAbListener void onItemRemoved ( nsISupports parentDir , nsISupports item )
nsIRDFDataSource void RemoveObserver ( nsIRDFObserver observer )
nsIRDFDataSource void Unassert ( nsIRDFResource source , nsIRDFResource property , nsIRDFNode target )

Reference documentation is generated from Mozilla's source.