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:
Fields:

Classes

class FunctionCall

Methods

__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)
evaluate(self, context)

Methods inherited from class FunctionCall


class FunctionCall2(FunctionCall)

Methods

__init__(self, name, key, args)
evaluate(self, context)

Methods inherited from class FunctionCall


class FunctionCall3(FunctionCall)

Methods

__init__(self, name, key, args)
evaluate(self, context)

Methods inherited from class FunctionCall


class FunctionCallN(FunctionCall)

Methods

__init__(self, name, key, args)
evaluate(self, context)

Methods inherited from class FunctionCall


class VariableReference
A variable reference

Methods

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

Functions

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) -> unicode

Return a copy of the string S with leading and trailing whitespace removed.

Fields

RDF_MS_BASE = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
RDF_SCHEMA_BASE = 'http://www.w3.org/2000/01/rdf-schema#'