| Home | Trees | Index | Help |
|---|
| Package rdflib :: Module Graph :: Class Seq |
|
object --+
|
Seq
Wrapper around an RDF Seq resource
It implements a container type in Python with the order of the items returned corresponding to the Seq content. It is based on the natural ordering of the predicate names _1, _2, _3, etc, which is the 'implementation' of a sequence in RDF terms.| Method Summary | |
|---|---|
Parameters: - graph: the graph containing the Seq - subject: the subject of a Seq. | |
Item given by index from the Seq | |
Generator over the items in the Seq | |
Length of the Seq | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
graph,
subject)
|
__getitem__(self,
index)
Item given by index from the Seq
|
__iter__(self)Generator over the items in the Seq |
__len__(self)
Length of the Seq
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Oct 23 14:11:24 2006 | http://epydoc.sf.net |