CompositeDataSourceImpl::QueryInterface(REFNSIID iid, void** result)
CompositeEnumeratorImpl::QueryInterface(REFNSIID iid, void** result)
CompositeDataSourceImpl::QueryInterface(REFNSIID iid, void** result){    if (! result)        return NS_ERROR_NULL_POINTER;    if (iid.Equals(nsIRDFCompositeDataSource::GetIID()) ||        iid.Equals(nsIRDFDataSource::GetIID()) ||        iid.Equals(kISupportsIID)) {        *result = NS_STATIC_CAST(nsIRDFCompositeDataSource*, this);		NS_ADDREF(this);        return NS_OK;    }    else if (iid.Equals(nsIRDFObserver::GetIID())) {        *result = NS_STATIC_CAST(nsIRDFObserver*, this);        NS_ADDREF(this);        return NS_OK;    }    else {        *result = nsnull;        return NS_NOINTERFACE;    }}