Package rdflib :: Package sparql :: Module sparqlGraph :: Class Alt
[show private | hide private]
[frames | no frames]

Class Alt

Container --+
            |
           Alt


This is just a placeholder class for naming, does not add any functionality to a Container
Method Summary
    Inherited from Container
  __init__(self, triplets, resource)
The triplets is of type myTripleStore, the resource is simply the resource which is supposed to be a Seq.
  __getitem__(self, index)
Obvious getitem using the sorted keys.
  __iter__(self)
returns self!
  __len__(self)
  addItem(self, res)
Add a new resource to the list (as the last element).
  next(self)
Obvious iteration through the content using the sorted keys.

Instance Variable Summary
    Inherited from Container
BNode resource: the RDFLib resource for the Container
myTripleStore triplets: the triple for the container instance

Class Variable Summary
    Inherited from Container
int _index = 0                                                                     
list _keys = []
dict _list = {}

Generated by Epydoc 2.1 on Wed Jun 29 09:50:16 2005 http://epydoc.sf.net