4Suite API Documentation

Module Ft.Rdf.Container

Classes for RDF Container objects
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class Alternative(Container)
A list of resources or literals that represent alternatives for the (single) value of a property, as defined in sec. 3.1 of the 1999 RDF Model and Syntax Spec.

Methods

__init__(self, uri=None, contents=None)
Overrides: __init__ from class Container

Methods inherited from class Container

Methods inherited from class Ft.Rdf.Resource.Resource

Methods inherited from class list

__add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __rmul__, __setitem__, __setslice__, count, extend, index, insert, pop, remove, reverse, sort

Methods inherited from class object

__delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Members inherited from class Container

Members inherited from class object

__class__
class Bag(Container)
An unordered list of resources or literals, as defined in sec. 3.1 of the 1999 RDF Model and Syntax Spec.

Methods

__init__(self, uri=None, contents=None)
Overrides: __init__ from class Container

Methods inherited from class Container

Methods inherited from class Ft.Rdf.Resource.Resource

Methods inherited from class list

__add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __rmul__, __setitem__, __setslice__, count, extend, index, insert, pop, remove, reverse, sort

Methods inherited from class object

__delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Members inherited from class Container

Members inherited from class object

__class__
class Container(Ft.Rdf.Resource.Resource, list)
Base class for Bag, Sequence, and Alternative, as defined in sec. 3.1 of the 1999 RDF Model and Syntax Spec.

Methods

__init__(self, className, uri=None, contents=None)
Overrides: __init__ from class Resource
__repr__(self)
Overrides: __repr__ from class Resource
append(self, obj)
Overrides: append from class list

Methods inherited from class Ft.Rdf.Resource.Resource

Methods inherited from class list

__add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __rmul__, __setitem__, __setslice__, count, extend, index, insert, pop, remove, reverse, sort

Methods inherited from class object

__delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'Container' objects>
__weakref__ = <attribute '__weakref__' of 'Container' objects>

Members inherited from class object

__class__
class Sequence(Container)
An ordered list of resources or literals, as defined in sec. 3.1 of the 1999 RDF Model and Syntax Spec.

Methods

__init__(self, uri=None, contents=None)
Overrides: __init__ from class Container

Methods inherited from class Container

Methods inherited from class Ft.Rdf.Resource.Resource

Methods inherited from class list

__add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __rmul__, __setitem__, __setslice__, count, extend, index, insert, pop, remove, reverse, sort

Methods inherited from class object

__delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Members inherited from class Container

Members inherited from class object

__class__

Functions

SortStatements(left, right)

Globals

RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
baseLength = 44