Home | Trees | Index | Help |
---|
Package rdflib :: Package sparql :: Module sparqlGraph :: Class Container |
|
Alt
,
Bag
,
Seq
Wrapper around an RDF Container resource.
This class is not really used by itself, rather through its subclasses:Seq
, Bag
, or Alt
.
Method Summary | |
---|---|
The triplets is of type myTripleStore, the resource is simply the resource which is supposed to be a Seq. | |
Obvious getitem using the sorted keys. | |
returns self! | |
__len__(self)
| |
Add a new resource to the list (as the last element). | |
Obvious iteration through the content using the sorted keys. |
Instance Variable Summary | |
---|---|
BNode | resource : the RDFLib resource for the Container |
myTripleStore |
triplets : the triple for the container instance |
Method Details |
---|
__init__(self,
triplets,
resource)
|
__getitem__(self,
index)
Obvious getitem using the sorted keys.
|
__iter__(self)returns 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 Details |
---|
resourcethe RDFLib resource for the Container
|
tripletsthe triple for the container instance
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jun 29 09:50:16 2005 | http://epydoc.sf.net |