4Suite API Documentation

Module Ft.Rdf.Parsers.Versa.DataTypes

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Rdf/Parsers/Versa/DataTypes.py,v 1.16 2005/02/26 01:18:34 jkloth Exp $
Classes:
Functions:
Fields:

Classes

class NumberFunction

Methods

__init__(self, args)
evaluate(self, con)

class Resource(__builtin__.unicode)

Methods

__init__(self, s)

Methods inherited from class __builtin__.unicode

__add__, __cmp__, __contains__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __hash__, __len__, __mod__, __mul__, __new__, __repr__, __rmod__, __rmul__, __str__, capitalize, center, count, decode, encode, endswith, expandtabs, find, index, isalnum, isalpha, isdecimal, isdigit, islower, isnumeric, isspace, istitle, isupper, join, ljust, lower, lstrip, replace, rfind, rindex, rjust, rsplit, rstrip, split, splitlines, startswith, strip, swapcase, title, translate, upper, zfill

Methods inherited from class __builtin__.object

__delattr__, __reduce__, __reduce_ex__, __setattr__

Fields

__dict__ = <attribute '__dict__' of 'Resource' objects>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'Resource' objects>
list of weak references to the object (if defined)

Fields


class Set
#FIXME: Implement more efficiently

Methods

__add__(self, other)
#__get/set/delitem__ & __get/set/delslice__ are shaky ground without 2.2 iterators
__cmp__(self, other)
__hash__(self)
#FIXME: should be updated to match comparison rules
__init__(self, l=None)
__len__(self)
__radd__ = __add__(self, other)
#__get/set/delitem__ & __get/set/delslice__ are shaky ground without 2.2 iterators
__repr__(self)
append(self, item)
remove(self, item)

class StringFunction

Methods

__init__(self, args)
evaluate(self, con)

Functions

Cmp(a, b)
CmpList(a, b)
CmpNumber(a, b)
CmpResource = CmpString(a, b)
CmpSet(a, b)
CmpString(a, b)
IsBoolean = lambda(x)
IsList = lambda(x)
IsNumber = lambda(x)
IsResource = lambda(x)
IsSet = lambda(x)
IsString = lambda(x)
SyncType(testObject, obj)
ToList(obj)
ToSet(obj)

Fields