context: function RDFHelper(){    const RDF_MEMORYDS_CONTRACTID =        "@mozilla.org/rdf/datasource;1?name=in-memory-datasource";    const RDF_DS_IID = Components.interfaces.nsIRDFDataSource;    const RDF_DS_CONTRACTID = "@mozilla.org/rdf/rdf-service;1";    const RDF_SVC_IID = Components.interfaces.nsIRDFService;    this.ds =        Components.classes[RDF_MEMORYDS_CONTRACTID].createInstance(RDF_DS_IID);    this.svc =         Components.classes[RDF_DS_CONTRACTID].getService(RDF_SVC_IID);        /* predefined nodes */    this.resRoot     = this.svc.GetResource ("NC:chatzilla-data");    this.resNullUser = this.svc.GetResource (RES_PFX + "NUSER");    this.resNullChan = this.svc.GetResource (RES_PFX + "NCHAN");    /* predefined arcs */    this.resNetwork  = this.svc.GetResource (RES_PFX + "network");    this.resServer   = this.svc.GetResource (RES_PFX + "server");    this.resChannel  = this.svc.GetResource (RES_PFX + "channel");    this.resChanUser = this.svc.GetResource (RES_PFX + "chanuser");    this.resSortName = this.svc.GetResource (RES_PFX + "sortname");    this.resOp       = this.svc.GetResource (RES_PFX + "op");    this.resHalfOp   = this.svc.GetResource (RES_PFX + "halfop");    this.resVoice    = this.svc.GetResource (RES_PFX + "voice");    this.resNick     = this.svc.GetResource (RES_PFX + "nick");    this.resUser     = this.svc.GetResource (RES_PFX + "user");    this.resHost     = this.svc.GetResource (RES_PFX + "host");    /* predefined literals */    this.litTrue     = this.svc.GetLiteral ("true");    this.litFalse    = this.svc.GetLiteral ("false");    this.litUnk      = this.svc.GetLiteral ("");     this.ds.Assert (this.resNullUser, this.resOp, this.litFalse, true);    this.ds.Assert (this.resNullUser, this.resHalfOp, this.litFalse, true);    this.ds.Assert (this.resNullUser, this.resVoice, this.litFalse, true);    this.ds.Assert (this.resNullUser, this.resNick, this.litUnk, true);    this.ds.Assert (this.resNullUser, this.resUser, this.litUnk, true);    this.ds.Assert (this.resNullUser, this.resHost, this.litUnk, true);    this.ds.Assert (this.resRoot, this.resChannel, this.resNullChan, true);    //this.ds.Assert (this.resNullChan, this.resChanUser, this.resNullUser,    //                true);    }
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/0918cade427e1856c2e2bcfdefa8b4ea3e457b73/rdf.js/clean/xul/content/rdf.js