4Suite API Documentation

Module Ft.Rdf.Parsers.Versa.NamedExpressions

Versa variables WWW: http://4suite.org/4RDF e-mail: support@4suite.org
Copyright 2001-2002 Fourthought Inc, USA.
See  http://4suite.org/COPYRIGHT  for license and copyright information
Classes:
Functions:
Globals:

Classes

class FunctionCall

Methods

__getinitargs__(self)
__getstate__(self)
__init__(self, name, key, args)
__repr__(self)
__str__(self)
error(self, *args)
evaluate(self, context)
Call the function
pprint(self, indent='')
class FunctionCall1(FunctionCall)

Methods

__init__(self, name, key, args)
Overrides: __init__ from class FunctionCall
evaluate(self, context)
Overrides: evaluate from class FunctionCall

Methods inherited from class FunctionCall

class FunctionCall2(FunctionCall)

Methods

__init__(self, name, key, args)
Overrides: __init__ from class FunctionCall
evaluate(self, context)
Overrides: evaluate from class FunctionCall

Methods inherited from class FunctionCall

class FunctionCall3(FunctionCall)

Methods

__init__(self, name, key, args)
Overrides: __init__ from class FunctionCall
evaluate(self, context)
Overrides: evaluate from class FunctionCall

Methods inherited from class FunctionCall

class FunctionCallN(FunctionCall)

Methods

__init__(self, name, key, args)
Overrides: __init__ from class FunctionCall
evaluate(self, context)
Overrides: evaluate from class FunctionCall

Methods inherited from class FunctionCall

class VariableReference
A variable reference

Methods

__init__(self, expr)
evaluate(self, con)

Functions

FunctionCallExprConstructor(name, args=None)
SplitQName(qualifiedName)
SplitQName(qualifiedName) -> (prefix, localName)
where 'qualifiedName' is a QName according to XML Namespaces 1.0
<http://www.w3.org/TR/REC-xml-names>.
returns the name parts according to the spec.
XmlStrStrip(S)
XmlStrStrip(S) -> unicode
Return a copy of the string S with leading and trailing whitespace removed.

Globals

OBJECT_TYPE_RESOURCE = 'R'
OBJECT_TYPE_UNKNOWN = '?'
RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
RDF_SCHEMA_BASE = 'http://www.w3.org/2000/01/rdf-schema#'
g_extFunctions = {}